public class ResolveReturnItemInventoryQuantityCmdImpl extends TaskCommandImpl implements ResolveReturnItemInventoryQuantityCmd
ResolveReturnItemInventoryQuantityCmd
task command.
This command is used to resolve the return item inventory quantity.
Utilizes these access beans
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.returns.commands.ResolveReturnItemInventoryQuantityCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName
Constructor and Description |
---|
ResolveReturnItemInventoryQuantityCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getInventoryQuantity()
This method calculates the RMA item inventory quantity.
|
void |
performExecute()
Execute the command.
|
void |
reset()
This method should be called after a command has been executed to reset its state variables.
|
void |
setRMAItemAccessBean(RMAItemAccessBean aRmaItemAB)
This method sets the RMA item access bean.
|
void |
validateParameters()
Checks the required parameter to be set beforehand for this task command to execute.
|
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
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 static final java.lang.String CLASSNAME
public ResolveReturnItemInventoryQuantityCmdImpl()
public void setRMAItemAccessBean(RMAItemAccessBean aRmaItemAB)
setRMAItemAccessBean
in interface ResolveReturnItemInventoryQuantityCmd
aRmaItemAB
- The RMA item access bean.public java.lang.Integer getInventoryQuantity()
getInventoryQuantity
in interface ResolveReturnItemInventoryQuantityCmd
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
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