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, 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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public GetCurrentPendingOrdersCmdImpl()
public java.util.Enumeration getOrderList()
getOrderList
in interface GetCurrentPendingOrdersCmd
Enumeration
of OrderAccessBean
.public boolean getResult()
getResult
in interface GetCurrentPendingOrdersCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setMemberId(java.lang.Long aMemberId)
setMemberId
in interface GetCurrentPendingOrdersCmd
aMemberId
- mandatory. The identifier of the Member whose current pending Orders are to be retrieved.public void setOrderByLastUpdate(boolean aOrderBy)
setOrderByLastUpdate
in interface GetCurrentPendingOrdersCmd
aOrderBy
- 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 GetCurrentPendingOrdersCmd
aStoreId
- optional. If specified, only Orders owned by the specified Store are retrieved.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand