com.ibm.commerce.attachment.commands

Interface AttachmentRelationBaseUpdateCmd

    • 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

      • getAttachmentObjectId

        java.lang.Long getAttachmentObjectId()
        Gets the ID of the business object for which this relationship is defined.
        Returns:
        The Object ID
      • getAttachmentRelationId

        java.lang.Long getAttachmentRelationId()
        Gets the attachment relation ID for the business object.
        Returns:
        The attachment relation ID
      • getAttachmentTargetId

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

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

        java.lang.Double getSequence()
        Gets the sequence used in the attachment relation.
        Returns:
        The sequence
      • getAttachmentRelationDescriptions

        java.util.Vector getAttachmentRelationDescriptions()
        Gets the vector of AttachmentRelationDescriptionDataBean
        Returns:
        The vector of AttachmentRelationDescriptionDataBean
      • getURL

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

        void setCreateMissing(java.lang.Boolean aboolCreateMissing)
        Sets the option the create missing attachment relation and attachment relation descriptions.
        • True - create the missing attachment relation and descriptions.
        • False - throw exception if the attachment relation or descriptions do not exists
        By default, the option is set to True.
        Parameters:
        aboolCreateMissing - The create missing flag
      • setAttachmentObjectId

        void setAttachmentObjectId(java.lang.Long anObjectId)
        Sets the ID of the business object for which this relation is defined.
        Parameters:
        anObjectId - The Object ID
      • setAttachmentRelationId

        void setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
        Sets the attachment relation ID.
        Parameters:
        anAttachmentRelationId - The attachment relation ID
      • setAttachmentTargetId

        void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
        Sets the attachment target ID.
        Parameters:
        anAttachmentTargetId - The attachment target ID
      • setAttachmentRelationUsageId

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

        void setSequence(java.lang.Double adSequence)
        Sets the sequence in the attachment relation.
        Parameters:
        adSequence - The sequence number
      • setAttachmentRelationDescriptions

        void setAttachmentRelationDescriptions(java.util.Vector avAttachmentRelationDescriptionDataBeans)
        Sets the vector of AttachmentRelationDescriptionDataBean to be created as the description for the attachment relation.
        Parameters:
        avAttachmentRelationDescriptionDataBeans - The list of AttachmentRelationDescriptionDataBean
      • setURL

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