public class QuoteCreateCmdImpl extends com.ibm.commerce.quote.commands.QuoteBaseCmdImpl implements QuoteCreateCmd
QuoteCreateCmd
controller Command.
Behaviour
CreateQuoteCmd
task command to perform the actual quote create operation.
OrderAccessBean
and returns the orderId of the quote in a response.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
QuoteCreateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description of the quote.
|
java.lang.String |
getOrderId()
Returns the orderId of the quote that was created.
|
java.lang.String |
getOutputQuoteName()
Returns the name of the quote as the output.
|
void |
performExecute()
Performs the main business logic.
|
void |
setDescription(java.lang.String description)
Sets the description of the quote.
|
void |
setOutputQuoteName(java.lang.String name)
Sets the name of the quote as the output.
|
void |
setRequestProperties(TypedProperty aReqParms)
Sets the request properties.
|
void |
validateParameters()
Validates request parameters.
|
getCommit, getResources, getUrl, reset, setCommit, setUrl
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
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public java.lang.String getOrderId()
getOrderId
in interface QuoteCreateCmd
public java.lang.String getOutputQuoteName()
public void setOutputQuoteName(java.lang.String name)
setOutputQuoteName
in interface QuoteCreateCmd
name
- Quote Name to be outputpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
setDescription
in interface QuoteCreateCmd
description
- the quote descriptionpublic 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
CreateQuoteCmd
public void setRequestProperties(TypedProperty aReqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class com.ibm.commerce.quote.commands.QuoteBaseCmdImpl
aReqParms
- request properties.ECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class com.ibm.commerce.quote.commands.QuoteBaseCmdImpl
ECException