public class CheckReleaseExpiredAllocationsCmdImpl extends TaskCommandImpl implements CheckReleaseExpiredAllocationsCmd
CheckReleaseExpiredAllocationsCmd
implementation figures out
which stores actually have something that needs to be done.defaultCommandClassName, NAME
Constructor and Description |
---|
CheckReleaseExpiredAllocationsCmdImpl()
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkProcessingNeeded()
Return the boolean ibIsThereWork.
|
boolean |
isReadyToCallExecute()
Checks to see if store id has been set.
|
void |
performExecute()
Call the Order query to see if there are expired order items.
|
void |
reset()
Reset all instance variables.
|
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 CheckReleaseExpiredAllocationsCmdImpl()
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 command uses the following AccessBean:
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECSystemException
- when receive java.sql.SQLExceptionECSystemException
- when receive javax.ejb.CreateExceptionECSystemException
- when receive javax.naming.NamingExceptionECSystemException
- when receive java.rmi.RemoteExceptionECException
public 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
- store id to check