java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.CopyRFQCmdImpl
This is the default implementation of the CopyRFQCmd. This command calls the following TaskCommands:
CreateRFQBasicInfoCmd
CreateRFQCatentryRelCmd
CreatePAttributeValueCmd
CopyRFQAttachmentCmd
RFQProdAccessBean
RFQCategryAccessBean
RFQAccessBean
TradingDescriptionAccessBean
TradingAgreementAccessBean
TermConditionAccessBean
RFQTargetAccessBean
PAttrValueAccessBean
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. CopyRFQCmd |
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 | |
---|---|
CopyRFQCmdImpl() CopyRFQCmdImpl constructor comment. |
Method Summary | |
---|---|
boolean |
getCopyAttachment() Gets the copyAttachment |
java.lang.Long |
getNewRFQId() Returns the RFQ id of the new copy. |
java.lang.String |
getNewRFQName() returns the unique name for the new RFQ |
java.lang.Integer |
getSourceAccessType() Gets the sourceAccessType |
java.lang.Long |
getSourceRFQId() Returns the source RFQ unique id used for the copy. |
java.lang.Integer |
getSourceStoreId() Returns the sourceStoreId. |
void |
performExecute() Performs the RFQ copy action. |
void |
reset() Reset the command. |
void |
setCopyAttachment(boolean copyAttachment) Sets the copyAttachment |
void |
setNewRFQName(java.lang.String name) Sets the unique name for the new RFQ |
void |
setSourceAccessType(java.lang.Integer sourceAccessType) Sets the sourceAccessType |
void |
setSourceRFQId(java.lang.Long rfqId) Sets the source of RFQ id to copy from. |
void |
setSourceStoreId(java.lang.Integer sourceStoreId) Sets the sourceStoreId. |
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 |
Constructor Detail |
---|
public CopyRFQCmdImpl()
Method Detail |
---|
public void reset()
reset
in class
AbstractECTargetableCommand
public java.lang.Long getNewRFQId()
getNewRFQId
in interface
CopyRFQCmd
public java.lang.String getNewRFQName()
getNewRFQName
in interface
CopyRFQCmd
public java.lang.Long getSourceRFQId()
getSourceRFQId
in interface
CopyRFQCmd
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException.
ECException
validateParameters()
,
CreateRFQBasicInfoCmd
,
public void setNewRFQName(java.lang.String name)
setNewRFQName
in interface
CopyRFQCmd
public void setSourceRFQId(java.lang.Long rfqId)
setSourceRFQId
in interface
CopyRFQCmd
rfqId
- The source Long unique RFQ id
value.public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
- The exception describing the failureECCommand.validateParameters()
public boolean getCopyAttachment()
getCopyAttachment
in interface
CopyRFQCmd
public void setCopyAttachment(boolean copyAttachment)
setCopyAttachment
in interface
CopyRFQCmd
copyAttachment
- The copyAttachment to setpublic java.lang.Integer getSourceAccessType()
public void setSourceAccessType(java.lang.Integer sourceAccessType)
sourceAccessType
- The sourceAccessType to
setpublic java.lang.Integer getSourceStoreId()
public void setSourceStoreId(java.lang.Integer sourceStoreId)
sourceStoreId
- The sourceStoreId to set