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, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public 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.ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setField1(java.lang.Integer aField1)
setField1
in interface SetPendingOrderCmd
aField1
- An Integer that specifies the field1.public void setField2(java.lang.String aField2)
setField2
in interface SetPendingOrderCmd
aField2
- A String that specifies the field2public void setOrderIds(java.lang.String[] aNumbers)
setOrderIds
in interface SetPendingOrderCmd
aNumbers
- A String[] that specifies the list of order ids.public void setOutOrderNames(java.lang.String[] aNames)
setOutOrderNames
in interface SetPendingOrderCmd
aNames
- A String[] that specifies out order names.public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aRequestProperties
- A TypedProperty that specifies the request properties.ECApplicationException
public void setStoreId(java.lang.Integer anStoreId)
setStoreId
in interface SetPendingOrderCmd
anStoreId
- An Integer that specifies store id.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException