com.ibm.commerce.tools.optools.order.commands
Interface CSROrderStatusChangeCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- CSROrderStatusChangeCmdImpl
- public interface CSROrderStatusChangeCmd
- extends TaskCommand
Updates the status of the order and its order items.
Parameters
orderIds
The array of order Ids that are to be changed. Use method setOrderIds() to set the list of order Ids.
newStatus
The status that the orders are changed into. Use method setNewStatus() to set the new status.
Exceptions:
It will throw exceptions for problems retrieving or saving orders and order items.
Field Summary |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
The default implementation class. |
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.tools.optools.order.commands.CSROrderStatusChangeCmd". |
Method Summary |
void |
setNewStatus(java.lang.String newStatus)
Sets the new status |
void |
setOrderIds(java.util.Vector orderIds)
Sets the order IDs that is to be changed into the new order status. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class.
NAME
public static final java.lang.String NAME
- The name of this interface is "com.ibm.commerce.tools.optools.order.commands.CSROrderStatusChangeCmd".
setNewStatus
public void setNewStatus(java.lang.String newStatus)
- Sets the new status
- Parameters:
newNewStatus
- The new status into which the orders is set
setOrderIds
public void setOrderIds(java.util.Vector orderIds)
- Sets the order IDs that is to be changed into the new order status.
- Parameters:
newOrderIds
- The order IDs that are to be changed into the new status.