java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.DeleteRFQAttachmentCmdImpl
This is the default implementation of the DeleteRFQAttachmentCmd. This command uses the following AccessBeans:
TradingAttachmentRelationAccessBean
RFQAccessBean
Field Summary | |
---|---|
java.lang.Long[] |
attachArray Attachment Array. |
java.lang.Long |
tradingId Trading Id. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. DeleteRFQAttachmentCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
DeleteRFQAttachmentCmdImpl() Default Constructor. |
Method Summary | |
---|---|
java.lang.Long[] |
getAttachArray() The Attachment Id array to be deleted |
java.lang.Long |
getTradingId() The Trading id that associated with the attachments |
void |
performExecute() Delete RFQ Attachment perform Execute |
void |
reset() Reset the command. |
void |
setAttachArray(java.lang.Long[] newAttachArray) Sets attachment id array to be deleted |
void |
setTradingId(java.lang.Long newTradingId) Sets Trading Id |
void |
validateParameters() Checks if the tradingId is set |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public java.lang.Long[] attachArray
public java.lang.Long tradingId
Constructor Detail |
---|
public DeleteRFQAttachmentCmdImpl()
Method Detail |
---|
public void reset()
reset
in class
AbstractECTargetableCommand
public java.lang.Long[] getAttachArray()
public java.lang.Long getTradingId()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
ECSystemException
ECCommand#performExecute()
public void setAttachArray(java.lang.Long[] newAttachArray)
setAttachArray
in interface
DeleteRFQAttachmentCmd
newAttachArray
- The array of attachment
IDs.public void setTradingId(java.lang.Long newTradingId)
setTradingId
in interface
DeleteRFQAttachmentCmd
newTradingId
- trading Idpublic void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
ECCommand#validateParameters()