com.ibm.commerce.scheduler.commands
Interface CheckForWorkCmd
- All Superinterfaces:
- TaskCommand
- All Known Subinterfaces:
- CheckProcessBackordersCmd, CheckRAReallocateCmd, CheckReleaseExpiredAllocationsCmd, CheckReleaseToFulfillmentCmd
- All Known Implementing Classes:
- CheckForWorkGenericImpl, CheckProcessBackordersCmdImpl, CheckRAReallocateCmdImpl, CheckReleaseExpiredAllocationsCmdImpl, CheckReleaseToFulfillmentCmdImpl
- public interface CheckForWorkCmd
- extends TaskCommand
CheckForWorkCmd is a common interface for scheduler task commands which will indicate whether there is work that needs to be done for a particular store or not.
Field Summary |
static java.lang.String |
COPYRIGHT
IBM Copyright notice field. |
static java.lang.String |
defaultCommandClassName
The default implementation of this command. |
static java.lang.String |
NAME
The name of this comand. |
Method Summary |
boolean |
checkProcessingNeeded()
Will determine whether the work is needed to be done for a particular store by returning a value of true. |
void |
setStoreId(java.lang.Integer storeId)
Sets the store id of the store that will be used to determine whether there is some work that needs to be done. |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM Copyright notice field.
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- The name of this comand.
- See Also:
- Constant Field Values
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation of this command.
- See Also:
- Constant Field Values
checkProcessingNeeded
public boolean checkProcessingNeeded()
- Will determine whether the work is needed to be done for a particular store by returning a value of true. Returning a value of false will indicate that work is not needed.
-
- Returns:
- boolean - whether works need to be done or not.
setStoreId
public void setStoreId(java.lang.Integer storeId)
- Sets the store id of the store that will be used to determine whether there is some work that needs to be done.
-
- Parameters:
- storeId - java.lang.Long
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.