com.ibm.commerce.attachment.commands

Interface UpdateAttachmentTargetCmd

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


    public interface UpdateAttachmentTargetCmd
    extends TaskCommand
    Interface for the command UpdateAttachmentTarget. This task command updates an attachment target. The value of the create missing option determines whether to create the attachment target or not when no such attachment target exists for update. By default, the create missing option is set to true. Parameters cannot be set into the task command by the request properties.
    • 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

      • getAttachmentTargetId

        java.lang.Long getAttachmentTargetId()
        Gets the Attachment Target ID.
        Returns:
        The attachment target ID
      • getMemberId

        java.lang.Long getMemberId()
        Gets the owner ID of the attachment target.
        Returns:
        The owner ID of the attachment target
      • getStoreentId

        java.lang.Integer getStoreentId()
        Gets the store entity ID of the attachment target.
        Returns:
        The store entity ID of the attachment target
      • getAttachmentUsageId

        java.lang.String getAttachmentUsageId()
        Gets the attachment usage ID of the attachment target.
        Returns:
        The attachment usage ID
      • getField1

        java.lang.Long getField1()
        Gets the customizable field 1.
        Returns:
        The customizable field 1
      • getField2

        java.lang.Double getField2()
        Gets the customizable field 2.
        Returns:
        Field 2
      • getField3

        java.lang.String getField3()
        Gets the customizable field 3.
        Returns:
        The customizable field 3
      • getField4

        java.lang.String getField4()
        Gets the customizable field 4.
        Returns:
        The customizable field 4
      • getIdentifier

        java.lang.String getIdentifier()
        Gets the attachment target identifier.
        Returns:
        The attachment target identifier
      • reset

        void reset()
        Resets all the parameters
        Specified by:
        reset in interface com.ibm.websphere.command.Command
      • setAttachmentTargetId

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

        void setMemberId(java.lang.Long anMemberId)
        Sets the owner ID of the attachment target.
        Parameters:
        anMemberId - The owner ID of the attachment target
      • setStoreentId

        void setStoreentId(java.lang.Integer anStoreentId)
        Sets the store entity ID of the attachment target.
        Parameters:
        anStoreentId - The store entity ID
      • setAttachmentUsageId

        void setAttachmentUsageId(java.lang.String astrAttachmentUsageId)
        Sets the attachment usage ID of the attachment target.
        Parameters:
        astrAttachmentUsageId -
      • setField1

        void setField1(java.lang.Long anField1)
        Sets the customizable field 1.
        Parameters:
        anField1 -
      • setField2

        void setField2(java.lang.Double adField2)
        Sets the customizable field 2.
        Parameters:
        adField2 - The customizable field 2
      • setField3

        void setField3(java.lang.String astrField3)
        Sets the customizable field 3.
        Parameters:
        astrField3 - The customizable field 3
      • setField4

        void setField4(java.lang.String astrField4)
        Sets the customizable field 4
        Parameters:
        astrField4 - The customizable field 4
      • setIdentifier

        void setIdentifier(java.lang.String astrIdentifier)
        Sets the identifier of the attachment target.
        Parameters:
        astrIdentifier - The identifier of the attachment target
      • setCreateMissing

        void setCreateMissing(java.lang.Boolean aboolCreateMissing)
        Sets the option to create the missing attachment target.
        • True - create the missing attachment target.
        • False - throw exception if the attachment target.
        By default, the option is set to True.
        Parameters:
        aboolCreateMissing - The create missing flag