public class GetCurrentPendingOrdersCmdImpl extends TaskCommandImpl implements GetCurrentPendingOrdersCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
GetCurrentPendingOrdersCmdImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Enumeration |
getOrderList()
Returns the list of current pending order identifiers.
|
boolean |
getResult()
Checks if the result is valid.
|
void |
performExecute()
Executes the main business logic of the command.
|
void |
reset()
This method is called after a command has been executed.
|
void |
setMemberId(java.lang.Long aMemberId)
Sets the identifier of the Member whose current pending Orders are to be retrieved.
|
void |
setOrderByLastUpdate(boolean aOrderBy)
Sets the flag to indicate that Orders should be retrieved in ascending sequence.
|
void |
setStoreId(java.lang.Integer aStoreId)
Sets the identifier of the Store that owns the pending Orders.
|
void |
validateParameters()
Checks mandatory parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public GetCurrentPendingOrdersCmdImpl()
public java.util.Enumeration getOrderList()
getOrderList in interface GetCurrentPendingOrdersCmdEnumeration of OrderAccessBean.public boolean getResult()
getResult in interface GetCurrentPendingOrdersCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void setMemberId(java.lang.Long aMemberId)
setMemberId in interface GetCurrentPendingOrdersCmdaMemberId - mandatory. The identifier of the Member whose current pending Orders are to be retrieved.public void setOrderByLastUpdate(boolean aOrderBy)
setOrderByLastUpdate in interface GetCurrentPendingOrdersCmdaOrderBy - optional. true indicates that Orders should be retrieved in
ascending sequence of their lastUpdate timestamp attribute values.public void setStoreId(java.lang.Integer aStoreId)
setStoreId in interface GetCurrentPendingOrdersCmdaStoreId - optional. If specified, only Orders owned by the specified Store are retrieved.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic void reset()
AbstractECTargetableCommandreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommand