com.ibm.commerce.attachment.commands

Interface AddAttachmentRelationCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    AddAttachmentRelationCmdImpl


    public interface AddAttachmentRelationCmd
    extends TaskCommand
    Interface for the command AddAttachmentRelation
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • CLASSNAME

        static final java.lang.String CLASSNAME
        Define the CLASSNAME.
        See Also:
        Constant Field Values
    • Method Detail

      • getSequence

        java.lang.Double getSequence()
        Gets the sequence of the attachment relation.
        Returns:
        The attachment relation sequence
      • getAttachmentObjectTypeId

        java.lang.Integer getAttachmentObjectTypeId()
        Gets the attachment object type ID of the business object that owns the attachment relation.
        Returns:
        The attachment object type ID
      • getAttachmentRelationId

        java.lang.Long getAttachmentRelationId()
        Gets the new attachment relation ID.
        Returns:
        The new attachment relation ID
      • getAttachmentRelationUsageId

        java.lang.Integer getAttachmentRelationUsageId()
        Gets the attachment relation usage ID used in this attachment relation.
        Returns:
        The attachment relation usage ID
      • getAttachmentTargetId

        java.lang.Long getAttachmentTargetId()
        Gets the attachment target ID used in this attachment relation.
        Returns:
        The attachment target ID
      • getObjectId

        java.lang.String getObjectId()
        Gets the primary key, in the form of a string, of the business object that owns this attachment relation.
        Returns:
        The primary key of the business object
      • setSequence

        void setSequence(java.lang.Double adSequence)
        Sets the sequence of the attachment relation.
        Parameters:
        adSequence - The sequence of the attachment relation
      • setAttachmentObjectTypeId

        void setAttachmentObjectTypeId(java.lang.Integer anAttachmentObjectTypeId)
        Sets the attachment object type ID of the business object that owns this attachment relation.
        Parameters:
        anAttachmentObjectTypeId - The attachment object type ID
      • setAttachmentRelationUsageId

        void setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
        Sets the attachment relation usage ID used in this attachment relation.
        Parameters:
        anAttachmentRelationUsageId - The attachment relation usage
      • setAttachmentTargetId

        void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
        Sets the attachment target ID used in the attachment relation.
        Parameters:
        anAttachmentTargetId - The attachment target ID
      • setObjectId

        void setObjectId(java.lang.String astrObjectId)
        Sets the primary key, in the form of a string, of the business object that owns this attachment relation.
        Parameters:
        astrObjectId -