public class RFQAttachmentUploadCmdImpl extends AttachmentUploadCmdImpl implements RFQAttachmentUploadCmd
The RFQAttachmentUploadCmdImpl will upload a file and associate the file to an RFQ. This is the default implementation of the RFQAttachmentUploadCmd Command. This command calls the following TaskCommands:
This command uses the following AccessBeans:Modifier and Type | Field and Description |
---|---|
protected AccessVector | iResourcelist
Access Vector
|
Constructor and Description |
---|
RFQAttachmentUploadCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getDescription()
Gets the description
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
java.lang.Long | gettradingId()
Gets the tradingId
|
void | performExecute()
Save the attachment to datastore, and associate the attachment to an RFQ.
|
void | reset()
Reset the command
|
void | setDescription(java.lang.String description)
Sets the description
|
void | setRequestProperties(TypedProperty reqParms)
Calls super.setRequestProperties to retrieve the rfq Id and the attach file content.
After this, retrieve that attachment description. The WebController calls the setRequestProperties method before invoking the execute method in this command. |
void | settradingId(java.lang.Long tradingId)
Sets the tradingId
|
void | validateParameters()
Checks if the RFQ id has been set, and if specified RFQ exist.
|
protected AccessVector iResourcelist
public void reset()
public AccessVector getResources() throws ECException
public void setRequestProperties(TypedProperty reqParms) throws ECException
public void performExecute() throws ECException
public java.lang.Long gettradingId()
public void settradingId(java.lang.Long tradingId)
public void validateParameters() throws ECException
public java.lang.String getDescription()
public void setDescription(java.lang.String description)