com.ibm.commerce.attachment.commands

Interface AttachmentRelationBaseDeleteCmd

    • 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
      • 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
      • 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
      • getURL

        java.lang.String getURL()
        Gets the redirect URL.
        Returns:
        The redirect URL
      • setAttachmentRelationId

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

        void setURL(java.lang.String astrURL)
        Sets the redirect URL.
        Parameters:
        astrURL - The redirect URL