com.ibm.commerce.rfq.commands

Class CreateTradeAttachmentCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, CreateTradeAttachmentCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class CreateTradeAttachmentCmdImpl
    extends TaskCommandImpl
    implements CreateTradeAttachmentCmd
    Implementation for associating an attachment object to a trading object.

    This is the default implementation of the CreateTradeAttachmentCmd. This command calls the following TaskCommands:

    This command uses the following AccessBeans/DataBeans:
    • RFQAttachmentListBean
    • RFQAccessBean
    • AttachmentDataBean
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CreateTradeAttachmentCmdImpl

        public CreateTradeAttachmentCmdImpl()
        Constructs a new TradeAttachmentCreateCmdImpl class instances.
    • Method Detail

      • reset

        public void reset()
        Reset the command
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • getAttachmentId

        public java.lang.Long getAttachmentId()
        Gets the attachmentId
        Returns:
        Returns a Long
      • setAttachmentId

        public void setAttachmentId(java.lang.Long attachmentId)
        Sets the attachmentId
        Specified by:
        setAttachmentId in interface CreateTradeAttachmentCmd
        Parameters:
        attachmentId - The attachmentId to set
      • getTradingId

        public java.lang.Long getTradingId()
        Gets the tradingId
        Returns:
        Returns a Long
      • setTradingId

        public void setTradingId(java.lang.Long tradingId)
        Sets the tradingId
        Specified by:
        setTradingId in interface CreateTradeAttachmentCmd
        Parameters:
        tradingId - The tradingId to set