public class OrderDisplayCmdImpl extends OrderPrepareBaseImpl implements OrderDisplayCmd
OrderDisplayCmd
controller command.
OrderPrepare
controller
command to prepare them.
Name | Description |
---|---|
langId |
Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table. |
forUser |
The logon ID of the user on whose behalf the command runs; only a person with the authority to process orders can specify this parameter. |
forUserId |
Same as forUser, but identifying the user by the internal user ID as found in the USERS table. |
storeId |
The store that is associated with the order. |
outOrderName |
The name-value pairs to be passed to a JSP. The value of each added name-value pair is the reference number of the order to be displayed. If the name is not provided, the default name (orderId) is used. |
status |
(The status of the orders that are listed. If the status is missing, it is assumed to be set to P (pending). It is only with pending orders that abbreviations may be used with orderId. The status may not be set to X. |
orderId |
The reference number of the order to be displayed. If this parameter is omitted, the OrderDisplay command behaves as if all of the customer's orders for the specified store were included. Abbreviations can be used, but only with pending orders. See the Order abbreviations for a description of the abbreviations. This parameter can be repeated. |
remerge |
A list of the order items that are to be merged with other order items in the same order and with the same correlationGroup attribute if possible. This parameter can be repeated. |
merge |
A list of order items that are to be merged with other order items in the same order if possible, regardless of their correlationGroup attributes. This parameter can be repeated. |
check |
A list of order items that are to be checked by the CheckInventory task command. This parameter can be repeated. |
allocate |
A list of order items that are to be allocated from existing inventory. This parameter can be repeated. |
backorder |
A list of order items that are to be allocated from expected inventory. This parameter can be repeated. |
reverse |
A list of order items whose allocations are to be released (that is, de-allocated from existing or expected inventory as appropriate). This parameter can be repeated. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
OrderDisplayCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
validateParameters()
This method extracts and validates the input parameters of this command implementation.
|
addOrderRn, checkPendingOrderParameters, getATPParms, getMerchantNumber, getMerchantRn, getOrderProcessingUtility, getOrderRn, getOutOrderIds, getPage, getResources, getRetainCurrency, getStatus, getUrl, setATPParms, setMerchantNumber, setMerchantRn, setOrderId, setOrderProcessingUtility, setOutOrderIds, setPage, setRequestProperties, setRetainCurrency, setStatus, 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, reset, 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
setOrderId, setOutOrderIds, setStatus
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, 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 void performExecute() throws ECException
OrderPrepare
controller command to prepare them.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class OrderPrepareBaseImpl
ECException
- ECCommand.performExecute()
public void validateParameters() throws ECException
CommandContext.getNonNullStore()
to ensure that the storeId parameter is known.
OrderPrepareBaseImpl.findOrders(Long,String,Integer)
protected method to determine a list of Orders.validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- ECCommand.validateParameters()