java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.inventory.scheduled.commands.CheckReleaseToFulfillmentCmdImpl
This CheckReleaseToFulfillmentCmd
implements figuring out which
stores actually have something that needs to be done.
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.inventory.scheduled.commands. CheckReleaseToFulfillmentCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CheckReleaseToFulfillmentCmdImpl() This is the class constructor. |
Method Summary | |
---|---|
boolean |
checkProcessingNeeded() This returns the boolean ibIsThereWork. |
boolean |
isReadyToCallExecute() Determines if store id has been set. |
void |
performExecute() Call the Order query to see if there are orders to release. |
void |
reset() Resets instance variables inStoreToCheck to null and ibIsThereWork to false |
void |
setStoreId(java.lang.Integer argStoreToCheck) Set the store id. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Constructor Detail |
---|
public CheckReleaseToFulfillmentCmdImpl()
Method Detail |
---|
public boolean checkProcessingNeeded()
checkProcessingNeeded
in interface
CheckForWorkCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
This method will set ibIsThereWork to true if there are orders to release, otherwise set to false.
This command calls the following AccessBean:
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
ECSystemException
- when receive java.sql.SQLException
ECSystemException
- when receive javax.ejb.CreateException
ECSystemException
- when receive javax.naming.NamingException
ECSystemException
- when receive
java.rmi.RemoteExceptionpublic void reset()
reset
in class
AbstractECTargetableCommand
public void setStoreId(java.lang.Integer argStoreToCheck)
setStoreId
in interface
CheckForWorkCmd
argStoreToCheck
- sets store id to check