public class CancelExternalInventoryTaskCmdImpl extends ExternalInventoryBaseTaskCmdImpl implements CancelExternalInventoryTaskCmd
CheckExternalInventoryTaskCmd
task command.
Name | Description |
---|---|
CallerCommandName |
the command that invokes the DoInventoryAction |
action |
the action that indicates canceling inventory |
orderIds |
the Ids of the order that need cancel inventory |
OrderItem |
the order items that need cancel inventory, if this parameter is provided, the orderIds will be ignored |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CancelExternalInventoryTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
OrderItemAccessBean |
getOrderItem()
This method gets the Order Item
|
void |
performExecute()
This method performs the main logic of the task command
|
void |
reset()
This method resets the parameters
|
void |
setOrderItem(OrderItemAccessBean argOrderItemAB)
This method sets the Order Item when canceling the inventory reservation of a single order item.
|
void |
validateParameters()
This method performs server side parameter checking.
|
getAction, getCallerCommandName, getExternalOMSRA, getInventoryFacotry, getOrderIds, setAction, setCallerCommandName, setOrderIds
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
getAction, getCallerCommandName, getExternalOMSRA, getOrderIds, setAction, setCallerCommandName, setOrderIds
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public void setOrderItem(OrderItemAccessBean argOrderItemAB)
setOrderItem
in interface CancelExternalInventoryTaskCmd
argOrderItemAB
- public OrderItemAccessBean getOrderItem()
getOrderItem
in interface CancelExternalInventoryTaskCmd
argOrderItemAB
- public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- com.ibm.commerce.exception.ECException
In case of any ECExceptionpublic void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class ExternalInventoryBaseTaskCmdImpl
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class ExternalInventoryBaseTaskCmdImpl
ECException
- com.ibm.commerce.exception.ECException
In case of any ECException