java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.rfq.commands.CopyRFQAttachmentCmdImpl
Implementation class for CopyRFQAttachmentCmd.
This is the default implementation of the CopyRFQAttachmentCmd. This command calls the following TaskCommands:
This command uses the following AccessBeans/DataBeans:RFQAttachmentListBean
RFQAccessBean
AttachmentDataBean
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT COPYRIGHT |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.rfq.commands. CopyRFQAttachmentCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CopyRFQAttachmentCmdImpl() CopyRFQAttachmentCmdImpl constructor comment. |
Method Summary | |
---|---|
java.lang.Long |
getNewRFQId() Gets the newRFQId |
java.lang.Long |
getSourceRFQId() Gets the sourceRFQId |
void |
performExecute() Performs the RFQ attachment copy action. |
void |
reset() Reset the command |
void |
setNewRFQId(java.lang.Long newRFQId) Sets the newRFQId |
void |
setSourceRFQId(java.lang.Long sourceRFQId) Sets the sourceRFQId |
void |
validateParameters() Checks if the source RFQ id value 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 static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CopyRFQAttachmentCmdImpl()
Method Detail |
---|
public void reset()
reset
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException.
ECException
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
- The exception describing the failure.ECCommand.validateParameters()
public java.lang.Long getNewRFQId()
getNewRFQId
in interface
CopyRFQAttachmentCmd
public void setNewRFQId(java.lang.Long newRFQId)
setNewRFQId
in interface
CopyRFQAttachmentCmd
newRFQId
- The newRFQId to setpublic java.lang.Long getSourceRFQId()
getSourceRFQId
in interface
CopyRFQAttachmentCmd
public void setSourceRFQId(java.lang.Long sourceRFQId)
setSourceRFQId
in interface
CopyRFQAttachmentCmd
sourceRFQId
- The sourceRFQId to set