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, validateParameters
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, validateParameters
public CheckReleaseToFulfillmentCmdImpl()
public boolean checkProcessingNeeded()
checkProcessingNeeded
in interface CheckForWorkCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
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 interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECSystemException
- 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.Command
reset
in class AbstractECTargetableCommand
public void setStoreId(java.lang.Integer argStoreToCheck)
setStoreId
in interface CheckForWorkCmd
argStoreToCheck
- sets store id to check