public class CreateTradeAttachmentCmdImpl extends TaskCommandImpl implements CreateTradeAttachmentCmd
This is the default implementation of the CreateTradeAttachmentCmd. This command calls the following TaskCommands:
This command uses the following AccessBeans/DataBeans:Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CreateTradeAttachmentCmdImpl()
Constructs a new TradeAttachmentCreateCmdImpl class instances.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getAttachmentId()
Gets the attachmentId
|
java.lang.Long | getTradingId()
Gets the tradingId
|
void | performExecute()
Create the association between the attachment and the trading agreement.
|
void | reset()
Reset the command
|
void | setAttachmentId(java.lang.Long attachmentId)
Sets the attachmentId
|
void | setTradingId(java.lang.Long tradingId)
Sets the tradingId
|
void | validateParameters()
Checks if the tradingId and attachmentId have been set, check if trading agreement exist, and if attachment exist.
|
public static final java.lang.String COPYRIGHT
public CreateTradeAttachmentCmdImpl()
public void reset()
public void performExecute() throws ECException
public void validateParameters() throws ECException
public java.lang.Long getAttachmentId()
public void setAttachmentId(java.lang.Long attachmentId)
public java.lang.Long getTradingId()
public void setTradingId(java.lang.Long tradingId)