java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.inventory.scheduled.commands.RAReallocateCmdImpl
Invoked by the WebSphere Commerce scheduler, this command reconciles expected inventory receipts for a given store to existing backorders to determine current expected ship dates. This is important because backorders may be deleted or expected inventory receipts may change, causing estimated ship dates to also change.
This command invokes the following AccessBeans:
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.inventory.scheduled.commands. RAReallocateCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Constructor Summary | |
---|---|
RAReallocateCmdImpl() method description: This is the class constructor. |
Method Summary | |
---|---|
AccessVector |
getResources() method description: Return command resources for access control. |
boolean |
isGeneric() method description: Return false to indicate that this command can not be run by a generic user. |
boolean |
isReadyToCallExecute() method description: Return true to indicate that this command is ready to be executed. |
void |
performExecute() method description: Reconcile expected inventory receipts to existing backorders to determine current expected ship dates. |
void |
reset() method description: Reset instance variables. |
void |
setRequestProperties(
TypedProperty reqParms) method description: Set command request properties. |
void |
validateParameters() method description: Validate command parameters. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Constructor Detail |
---|
public RAReallocateCmdImpl()
Method Detail |
---|
public AccessVector getResources() throws ECException
getResources
in interface
ECCommand
getResources
in class
AbstractECTargetableCommand
ECException
ECSystemException
- when receive javax.ejb.CreateException
ECSystemException
- when receive javax.ejb.FinderException
ECSystemException
- when receive javax.naming.NamingException
ECSystemException
- when receive
java.rmi.RemoteExceptionpublic boolean isGeneric()
isGeneric
in interface
ControllerCommand
isGeneric
in class
ControllerCommandImpl
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECSystemException
- when receive java.sql.SQLException
ECSystemException
- when receive javax.ejb.CreateException
ECSystemException
- when receive javax.ejb.FinderException
ECSystemException
- when receive javax.naming.NamingException
ECSystemException
- when receive java.rmi.RemoteExceptionECException
public void reset()
reset
in class
AbstractECTargetableCommand
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
reqParms
- request properties
ECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
ECSystemException