com.ibm.commerce.attachment.commands

Interface DeleteAttachmentRelationCmd

  • 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:
    DeleteAttachmentRelationCmdImpl


    public interface DeleteAttachmentRelationCmd
    extends TaskCommand
    Interface for the command DeleteAttachmentRelation
    • 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

      • getAttachmentRelationId

        java.lang.Long getAttachmentRelationId()
        Gets the attachment relation ID.
        Returns:
        The attachment relation ID
      • 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
      • 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
      • getDeleteByBusinessObject

        java.lang.Boolean getDeleteByBusinessObject()
        Gets the option to delete all the attachment relations by business object.
        • True = delete all the attachment relations by the business object specified in the parameter
        • False = delete by attachment relation ID or the unique index of the attachment relation
        By default, this option is set to False.
        Returns:
        The primary key of the business object
      • setAttachmentRelationId

        void setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
        Sets the attachment relation ID.
        Parameters:
        anAttachmentRelationId - The attachment relation ID
      • 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 -
      • setDeleteByBusinessObject

        void setDeleteByBusinessObject(java.lang.Boolean aboolDeleteByBusinessObject)
        Sets the option to delete all the attachment relations by business object.
        • True = delete all the attachment relations by the business object specified in the parameter
        • False = delete by attachment relation ID or the unique index of the attachment relation
        By default, this option is set to False.
        Parameters:
        aboolDeleteByBusinessObject - option to delete attachment relation by business object