com.ibm.commerce.order.commands
Interface OrderPrepareCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- OrderPrepareCmdImpl
- public interface OrderPrepareCmd
- extends ControllerCommand
This command prepares an order by determining prices, discounts, shipping charges, and taxes for an order. If an order reference number is not specified, all current pending orders will be prepared for the current customer at the given store.
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
static java.lang.String |
NAME
The name of the Command Interface class. |
Method Summary |
void |
setCommit(boolean ibCommit)
Sets the commit flag to control whether each order is processed in a separate database transaction |
void |
setOrderId(java.util.Vector avOrderId)
Sets ids of the orders to be prepared. |
void |
setOutOrderIds(java.lang.String[] aarrstrOutOrderIds)
Sets the names of the name-value pairs to be passed to a JSP. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, 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, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- The name of the Command Interface class.
- See Also:
- Constant Field Values
setOrderId
public void setOrderId(java.util.Vector avOrderId)
- Sets ids of the orders to be prepared.
setOutOrderIds
public void setOutOrderIds(java.lang.String[] aarrstrOutOrderIds)
- Sets the names of the name-value pairs to be passed to a JSP. The value of each added name-value pair is the identifier of the order to be prepared.
-
- Parameters:
- aarrstrOutOrderIds - String - the names of the name-value pairs
setCommit
public void setCommit(boolean ibCommit)
- Sets the commit flag to control whether each order is processed in a separate database transaction
-
- Parameters:
- ibCommit - The ibCommit to set
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.