public class CheckReleaseToFulfillmentCmdImpl extends TaskCommandImpl implements CheckReleaseToFulfillmentCmd
CheckReleaseToFulfillmentCmd implements figuring out which stores actually
have something that needs to be done.defaultCommandClassName, NAME| Constructor and Description |
|---|
CheckReleaseToFulfillmentCmdImpl()
This is the class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic CheckReleaseToFulfillmentCmdImpl()
public boolean checkProcessingNeeded()
checkProcessingNeeded in interface CheckForWorkCmdpublic boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic 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 ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionECSystemException - when receive java.sql.SQLExceptionECSystemException - when receive javax.ejb.CreateExceptionECSystemException - when receive javax.naming.NamingExceptionECSystemException - when receive java.rmi.RemoteExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setStoreId(java.lang.Integer argStoreToCheck)
setStoreId in interface CheckForWorkCmdargStoreToCheck - sets store id to check