public class QuoteCopyCmdImpl extends com.ibm.commerce.quote.commands.QuoteBaseCmdImpl implements QuoteCopyCmd
QuoteCopyCmd
Command.
Behaviour
CreateQuoteCmd
.
CopyQuoteCmd
to perform the actual copy from the specified quote into the new quote.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
QuoteCopyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBlockInfoCopyFlag()
Gets the block info copy flag.
|
java.lang.String |
getDescription()
Gets the description of the quote that results from QuoteCopy.
|
java.lang.String |
getSensitiveInfoCopyFlag()
Gets the sensitive info copy flag.
|
OrderAccessBean |
getToQuote()
Gets the quote access bean that has been copied.
|
void |
performExecute()
Performs the main business logic.
|
void |
reset()
Resets the command.
|
void |
setBlockInfoCopyFlag(java.lang.String blInfoCopyFlag)
Sets the block info copy flag.
|
void |
setDescription(java.lang.String desc)
Sets the description of the quote that results from QuoteCopy.
|
void |
setQuote(OrderAccessBean abQuote)
Sets the quote to be copied and adds it to the list of quotes to be processed.
|
void |
setRequestProperties(TypedProperty aReqParms)
Overrides the base class method to retrieve the sensitive info flag.
|
void |
setSensitiveInfoCopyFlag(java.lang.String senInfoCopyFlag)
Sets the sensitive info copy flag.
|
getCommit, getResources, getUrl, setCommit, setUrl, validateParameters
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setUrl
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public void setQuote(OrderAccessBean abQuote)
setQuote
in interface QuoteCopyCmd
abQuote
- Quote access bean.public java.lang.String getSensitiveInfoCopyFlag()
public void setSensitiveInfoCopyFlag(java.lang.String senInfoCopyFlag)
setSensitiveInfoCopyFlag
in interface QuoteCopyCmd
senInfoCopyFlag
- sensitive info copy flagpublic java.lang.String getBlockInfoCopyFlag()
public void setBlockInfoCopyFlag(java.lang.String blInfoCopyFlag)
setBlockInfoCopyFlag
in interface QuoteCopyCmd
blInfoCopyFlag
- block info copy flagpublic java.lang.String getDescription()
public void setDescription(java.lang.String desc)
setDescription
in interface QuoteCopyCmd
desc
- description of Orderpublic OrderAccessBean getToQuote()
getToQuote
in interface QuoteCopyCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.commerce.quote.commands.QuoteBaseCmdImpl
ECException
public void setRequestProperties(TypedProperty aReqParms) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class com.ibm.commerce.quote.commands.QuoteBaseCmdImpl
aReqParms
- request properties.ECApplicationException
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class com.ibm.commerce.quote.commands.QuoteBaseCmdImpl