public class QuoteSaveCmdImpl extends com.ibm.commerce.quote.commands.QuoteBaseCmdImpl implements QuoteSaveCmd
QuoteSaveCmd
controller Command.
Behaviour
QuotePrepareCmd
is called.
SetQuoteExpireDateCmd
to set the expiry date for the quote.
OrderAccessBean
to save the quote.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
QuoteSaveCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.sql.Timestamp |
getExpireDate()
Gets the expiry date for the quote.
|
java.lang.Long |
getExpirePeriod()
Gets the expiry period for the quote.
|
void |
performExecute()
Performs the main business logic.
|
void |
reset()
Resets the command.
|
void |
setQuote(OrderAccessBean abQuote)
Sets the quote to be saved and adds it to the list of quotes to be processed.
|
void |
setQuoteExpireDate(java.sql.Timestamp expDate)
Sets the expiry date for the quote.
|
void |
setQuoteExpirePeriod(java.lang.Long expirePeriodTime)
Sets the expiry period for the quote.
|
void |
setRequestProperties(TypedProperty aReqParms)
Sets the request properties of this command implementation.
|
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 QuoteSaveCmd
abQuote
- Quote access bean.public void setQuoteExpirePeriod(java.lang.Long expirePeriodTime)
setQuoteExpirePeriod
in interface QuoteSaveCmd
expirePeriodTime
- expirePeriod Expire Period for the Quotepublic void setQuoteExpireDate(java.sql.Timestamp expDate)
setQuoteExpireDate
in interface QuoteSaveCmd
expDate
- Expire Date for the Quotepublic java.lang.Long getExpirePeriod()
public java.sql.Timestamp getExpireDate()
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
SetQuoteExpireDateCmd
public void setRequestProperties(TypedProperty aReqParms) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class com.ibm.commerce.quote.commands.QuoteBaseCmdImpl
aReqParms
- the request propertiesECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class com.ibm.commerce.quote.commands.QuoteBaseCmdImpl
Command.reset()