public class OrderListCmdImpl extends ControllerCommandImpl implements OrderListCmd
OrderListCmd
controller command.
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 will be run. 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 reference number of the store for the orders to be listed. If you omit this parameter, the customer's orders for all stores are listed. |
status |
(Required) The status of the orders that are listed. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
OrderListCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method resets instance variables to their initial values.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
This method extracts input parameters from the specified request properties.
|
void |
setStatus(java.lang.String aStatus)
This method specifies the status of the Orders that are to be displayed.
|
void |
setStoreId(java.lang.Integer aStoreId)
This method specifies the identifier of the Store whose Orders are to be displayed.
|
void |
validateParameters()
This method extracts and validates the input parameters of this command implementation.
|
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, getResources, 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, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECApplicationException
- This exception is thrown if there is no current user in the command context.
The _ERR_DIDNT_LOGON message is passed.ECException
ECCommand.performExecute()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aRequestProperties
- A TypedProperty that specifies the request properties.ECApplicationException
ControllerCommand.setRequestProperties(TypedProperty)
public void setStatus(java.lang.String aStatus)
setStatus
in interface OrderListCmd
aStatus
- A String that specifies the status of the Orders that are to be displayed.public void setStoreId(java.lang.Integer aStoreId)
setStoreId
in interface OrderListCmd
aStoreId
- An Integer that specifies the identifier of the Store whose Orders are to be displayed.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- The _ERR_BAD_MISSING_CMD_PARAMETER message is passed, with
the name of the invalid or missing property name.ECException
ECCommand.validateParameters()