com.ibm.commerce.order.commands
Interface OrderListCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- OrderListCmdImpl
- public interface OrderListCmd
- extends ControllerCommand
Displays a list of the shopper's orders whether they have been prepared or not.
Behavior
If the status is P, sets the OrderListPendingView task to display the list of
pending orders.
If the status is any value other than P (or X, which is considered a command error),
sets the OrderListNonPendingView task command to display the list of orders that
match the specified status for a store id (if specified).
Exception Conditions
Field Summary |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
NAME
|
Method Summary |
void |
setStatus(java.lang.String astrStatus)
Specifies the status of the orders that are listed. |
void |
setStoreId(java.lang.Integer anStoreId)
Specifies the stores of the orders that are listed. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
NAME
public static final java.lang.String NAME
setStatus
public void setStatus(java.lang.String astrStatus)
- Specifies the status of the orders that are listed.
- Parameters:
astrStatus
- java.lang.String
setStoreId
public void setStoreId(java.lang.Integer anStoreId)
- Specifies the stores of the orders that are listed.
- Parameters:
anStoreId
- java.lang.Integer