public class AdvancedOrderEditBeginCmdImpl extends com.ibm.commerce.ordermanagement.commands.AdvancedOrderEditBaseCmdImpl implements AdvancedOrderEditBeginCmd
AdvancedOrderEditBeginCmd
controller command.
Name | Description |
---|---|
orderId |
(Required) The identifier of the order to edit or change. |
editorId |
An authorized and logged in member who invoked the AdvancedOrderEditBeginCmd command. |
AdvancedOrderEditBeginCmd
implementation class and
AdvancedOrderEditEndCmd
command stage an advanced order
for editing. Between the execution of the AdvancedOrderEditBeginCmd
and
AdvancedOrderEditEndCmd
commands, many types of order editing actions can
occur (for example, OrderItemUpdateCmd, PIEdit, OrderCopy, and so on.).
To invoke this command:
After the command is successful executed, the status of order will change to E unless the status was P, NEW, and E. 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
Copyright statement.
|
defaultCommandClassName, EC_ORDER_RN, NAME
Constructor and Description |
---|
AdvancedOrderEditBeginCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Short |
getOrderVersion()
This method returns the order version number.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
setEditor(OrderAccessBean anOrder)
Sets the editor ID with the value of the login ID.
|
void |
setRequestProperties(TypedProperty reqProperties)
This method sets the
requestProperties for the command. |
void |
setResponseProperties()
Set the response properties.
|
void |
setTakeOverLock(java.lang.String takeOverLock)
Set take over lock parameter
|
getEditorId, getOrder, getOrderId, getResources, isGeneric, isRetriable, reset, 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
setOrder, 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 setEditor(OrderAccessBean anOrder) throws ECException
anOrder
- as OrderAcessBeanECException
public java.lang.Short getOrderVersion()
AdvancedOrderEditBeginCmd
getOrderVersion
in interface AdvancedOrderEditBeginCmd
public void setResponseProperties()
public void setRequestProperties(TypedProperty reqProperties) throws ECException
ControllerCommandImpl
requestProperties
for the command. The WebController
calls the setRequestProperties
method before invoking the execute method for this command.
It is the responsibility of the command writer to extract the
required input parameters from the requestProperties
object.setRequestProperties
in interface ControllerCommand
setRequestProperties
in class com.ibm.commerce.ordermanagement.commands.AdvancedOrderEditBaseCmdImpl
reqProperties
- This is an object that represents the request properties.ECException
ControllerCommand.setRequestProperties(com.ibm.commerce.datatype.TypedProperty)
public void setTakeOverLock(java.lang.String takeOverLock)
setTakeOverLock
in interface AdvancedOrderEditBeginCmd
takeOverLock
-