public class OrderPrepareCmdImpl extends OrderPrepareBaseImpl implements OrderPrepareCmd
Name | Description |
---|---|
URL | optional, the URL to be called when the command completes successfully. |
orderId | optional, the order Id specified, this parameter can be repeated. |
outOrderName | Specifies the names of name-value pairs to be added to the redirection URL. |
retainOrderCurrency | The currency to be retained. |
Name | Description |
---|---|
warningErrorMessageKey | return this parameter if shopping cart has changed, _WARNING_ORDER_PREPARE_AN_ITEM_IN_PRE_SHIPPING_MODE |
warningErrorMessage | return this parameter if shopping cart has changed, the ECMessage of key WARNING_ORDER_PREPARE_AN_ITEM_IN_PRE_SHIPPING_MODE |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
OrderPrepareCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean | checkStatus(OrderAccessBean abOrder)
This method checks whether the order is in valid status to perform the business logic.
|
boolean | getCommit()
This method returns the commit flag
|
void | performExecute()
This method contains the actual business logic of the command.
|
void | reset()
This method should be called after a command has been executed to reset its states variables.
|
protected void | reSet()
This method resets the instance variables.
|
protected void | resetSkipRepricingPrepareFlagsForOrder(OrderAccessBean orderAB)
This method resets the SKIP_REPRICING prepare flag in the orderItems for the Order
|
void | setCommit(boolean aCommit)
This method sets the commit flag to control whether each order is processed in a separate database transaction
|
void | setRequestProperties(TypedProperty aReqParms)
The WebController calls the setRequestProperties method before invoking the execute method in this command.
|
void | validateParameters()
This method performs server side parameter checking.
|
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
protected void resetSkipRepricingPrepareFlagsForOrder(OrderAccessBean orderAB) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, ECException
protected boolean checkStatus(OrderAccessBean abOrder) throws ECException
protected void reSet()
public void setRequestProperties(TypedProperty aReqParms) throws ECApplicationException
public void reset()
public boolean getCommit()
public void setCommit(boolean aCommit)
public void validateParameters() throws ECException