public class AdvancedOrderEditEndCmdImpl extends com.ibm.commerce.ordermanagement.commands.AdvancedOrderEditBaseCmdImpl implements AdvancedOrderEditEndCmd
AdvancedOrderEditEndCmd
controller command.
Name | Description |
---|---|
orderId |
(Required) The identifier of the order undergoing the edit or change. |
This AdvancedOrderEditEndCmd
implementation class and
AdvancedOrderEditBeginCmd
stage an order for editing.
Between the execution of AdvancedOrderEditBeginCmd
and AdvancedOrderEditEndCmd
,
many types of order editing actions can occur (for example,
OrderItemUpdateCmd, PIEdit, OrderCopy, and so forth).
To invoke this command, a valid order ID has to be passed in from the command context. The order shall be in an editable state. Orders that are in cancel (X) or close (D) state cannot be edited. An exception is thrown if an invalid order ID is passed.
If the command is successful, the editorId of the order will be NULL. And the order will not be processed by the system until the order gets submitted again.
If unsuccessful, the command throws the ECException.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, EC_ORDER_RN, NAME
Constructor and Description |
---|
AdvancedOrderEditEndCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPoNumber()
Gets the PO number
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
This method resets its states variables.
|
void |
setPoNumber(java.lang.String string)
This method sets the PO number.
|
void |
setRequestProperties(TypedProperty reqProperties)
This method sets the request properties of this command implementation.
|
getEditorId, getOrder, getOrderId, getResources, isGeneric, isRetriable, setEditorId, setOrder, setOrderId, toString, validateParameters
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, 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, wait, wait, wait
setOrderId
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, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.commerce.ordermanagement.commands.AdvancedOrderEditBaseCmdImpl
ECException
public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class com.ibm.commerce.ordermanagement.commands.AdvancedOrderEditBaseCmdImpl
reqProperties
- the request propertiesECException
public java.lang.String getPoNumber()
public void setPoNumber(java.lang.String string)
string
- PO numberpublic void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class com.ibm.commerce.ordermanagement.commands.AdvancedOrderEditBaseCmdImpl