java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.order.commands.SetPendingOrderCmdImpl
Marks one or more pending orders as the current pending orders. A marked pending order is the default working pending order for a shopper.
Behavior
Calls a task SetCurrentPendingOrderCmd process task passing to it the number of the pending orders to be marked current.Exception Conditions
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.order.commands.SetPendingOrderCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
SetPendingOrderCmdImpl() |
Method Summary | |
void | checkIsAllowed(AccessVector resource, java.lang.String action) Check if the access control by calling checkIsAllowed() in the super classes |
protected java.lang.Integer | getField1() Returns the customizable field 1. |
protected java.lang.String | getField2() Returns the customizable field 2. |
void | performExecute() Executes main business logic of the command. |
void | reset() Resets the instance fields. |
void | setField1(java.lang.Integer aField1) Sets the customizable field 1. |
void | setField2(java.lang.String aField2) Sets the customizable field 2. |
void | setOrderIds(java.lang.String[] aNumbers) Specifies zero or more orders, using order reference numbers or one of the special abbreviations "**", ".", "*", ".t", "*t" etc. |
void | setOutOrderNames(java.lang.String[] aNames) Specifies the names of the name-value pairs to be added to the redirection URL. |
void | setRequestProperties(TypedProperty aRequestProperties) Sets the request properties. |
void | setStoreId(java.lang.Integer anStoreId) Specifies the stores of the orders that are listed. |
void | validateParameters() Checks mandatory parameters. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public SetPendingOrderCmdImpl()
Method Detail |
public void checkIsAllowed(AccessVector resource, java.lang.String action) throws ECException
protected java.lang.Integer getField1()
protected java.lang.String getField2()
public void performExecute() throws ECException
public void reset()
public void setField1(java.lang.Integer aField1)
public void setField2(java.lang.String aField2)
public void setOrderIds(java.lang.String[] aNumbers)
public void setOutOrderNames(java.lang.String[] aNames)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setStoreId(java.lang.Integer anStoreId)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.