public class SetPendingOrderCmdImpl extends ControllerCommandImpl implements SetPendingOrderCmd
SetPendingOrderCmd controller command.
SetCurrentPendingOrdersCmd process task passing to it the
number of the pending orders to be marked current.
| Name | Description |
|---|---|
storeId |
The reference number of a store. |
URL |
(Required) The URL to be called when the command completes successfully. |
orderId |
Specifies an order using the order reference number or one of the Order abbreviations
".", "*", ".t", "*t". This parameter can be repeated.
|
outOrderName |
Specifies name-value pairs to be added to the redirection URL specified by the URL parameter. This parameter can be repeated. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
SetPendingOrderCmdImpl()
The Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkIsAllowed(AccessVector resource,
java.lang.String action)
This method checks if the access control by calling checkIsAllowed() in the super classes.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method resets the instance fields.
|
void |
setField1(java.lang.Integer aField1)
This method sets the customizable field 1.
|
void |
setField2(java.lang.String aField2)
This method sets the customizable field 2.
|
void |
setOrderIds(java.lang.String[] aNumbers)
This method specifies zero or more orders, using order reference numbers or one of
the special abbreviations "**", ".", "*", ".t", "*t" and so forth.
|
void |
setOutOrderNames(java.lang.String[] aNames)
This method specifies the names of the name-value pairs to be added to the redirection URL.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
This method sets the request properties.
|
void |
setStoreId(java.lang.Integer anStoreId)
This method specifies the stores of the orders that are listed.
|
void |
validateParameters()
Checks mandatory parameters.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public void checkIsAllowed(AccessVector resource, java.lang.String action) throws ECException
resource - An AccessVector that represents the vector of resource.action - A String that specifies the action.ECExceptionpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setField1(java.lang.Integer aField1)
setField1 in interface SetPendingOrderCmdaField1 - An Integer that specifies the field1.public void setField2(java.lang.String aField2)
setField2 in interface SetPendingOrderCmdaField2 - A String that specifies the field2public void setOrderIds(java.lang.String[] aNumbers)
setOrderIds in interface SetPendingOrderCmdaNumbers - A String[] that specifies the list of order ids.public void setOutOrderNames(java.lang.String[] aNames)
setOutOrderNames in interface SetPendingOrderCmdaNames - A String[] that specifies out order names.public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplaRequestProperties - A TypedProperty that specifies the request properties.ECApplicationExceptionpublic void setStoreId(java.lang.Integer anStoreId)
setStoreId in interface SetPendingOrderCmdanStoreId - An Integer that specifies store id.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException