public class OrderCreateQuoteCmdImpl extends ControllerCommandImpl implements OrderCreateQuoteCmd
Parameters
Behaviour
The command does the following :
QOT
and STATUS = NEW
for the new resulting Quote
SKIP_REPRICING
, SourceId if set for the Order.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
OrderCreateQuoteCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
checkInputOrderIdNumbers()
Checks the OrderId parameters for Number format.
|
void |
checkUrl()
Checks for the existence of the URL parameter in the request.
|
java.lang.String |
getBlockInfoCopyFlag()
Gets the block info copy flag.
|
boolean |
getCommit()
Gets the commit flag.
|
java.lang.String |
getDescription()
Gets the description of the Order to be generated from Quote.
|
java.lang.String |
getQuoteOrderId()
Gets the Id of the Quote created from Order.
|
AccessVector |
getResources()
Gets resources.
|
java.lang.String |
getSensitiveInfoCopyFlag()
Gets the sensitive info copy flag.
|
java.lang.String |
getUrl()
Gets the URL.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
Resets the instance fields.
|
void |
setBlockInfoCopyFlag(java.lang.String blInfoCopyFlag)
Sets the block info copy flag.
|
void |
setCommit(boolean commit)
Sets the commit flag to control whether each quote is processed in a separate.
|
void |
setDescription(java.lang.String desc)
Sets the description of the Order to be generated from Quote.
|
void |
setOrder(OrderAccessBean abOrder)
Sets the Order to create Quote from.
|
void |
setQuoteOrderId(java.lang.String qid)
Sets the Id of the Quote created from Order.
|
void |
setRequestProperties(TypedProperty aReqParms)
The WebController calls the setRequestProperties method before invoking the execute method in this command.
|
void |
setResponsePropertiesForCommand()
Sets the response properties for the command invoked.
|
void |
setSensitiveInfoCopyFlag(java.lang.String senInfoCopyFlag)
Sets the sensitive info copy flag.
|
void |
setUrl(java.lang.String astrUrl)
Sets the URL.
|
void |
validateParameters()
Performs server side parameters checking.
|
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
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, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public java.lang.String getUrl()
public void setUrl(java.lang.String astrUrl)
setUrl
in interface OrderCreateQuoteCmd
astrUrl
- URL in the requestpublic void setOrder(OrderAccessBean abOrder)
setOrder
in interface OrderCreateQuoteCmd
abOrder
- Order access bean.public java.lang.String getSensitiveInfoCopyFlag()
public void setSensitiveInfoCopyFlag(java.lang.String senInfoCopyFlag)
setSensitiveInfoCopyFlag
in interface OrderCreateQuoteCmd
senInfoCopyFlag
- sensitive info copy flagpublic java.lang.String getBlockInfoCopyFlag()
public void setBlockInfoCopyFlag(java.lang.String blInfoCopyFlag)
setBlockInfoCopyFlag
in interface OrderCreateQuoteCmd
blInfoCopyFlag
- block info copy flagpublic java.lang.String getDescription()
public void setDescription(java.lang.String desc)
setDescription
in interface OrderCreateQuoteCmd
desc
- description of Orderpublic java.lang.String getQuoteOrderId()
getQuoteOrderId
in interface OrderCreateQuoteCmd
public void setQuoteOrderId(java.lang.String qid)
qid
- Id of Quotepublic void checkInputOrderIdNumbers() throws ECException
ivalidOrderNumbers
ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
QuoteCopyCmd
,
InventoryManagementHelper
public void setRequestProperties(TypedProperty aReqParms) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aReqParms
- request properties.ECException
public void setResponsePropertiesForCommand()
public void validateParameters() throws ECException
iarrListOrders
.validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
checkInputOrderIdNumbers()
,
findOrders()
public void checkUrl() throws ECException
ECException
public boolean getCommit()
public void setCommit(boolean commit)
commit
- Commit flagpublic AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand