com.ibm.commerce.scheduler.commands
Class CheckForWorkGenericImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.TaskCommandImpl
              com.ibm.commerce.scheduler.commands.CheckForWorkGenericImpl
All Implemented Interfaces:
CheckForWorkCmd, ECCommand, ECTargetableCommand, TaskCommand

public class CheckForWorkGenericImpl
extends TaskCommandImpl
implements CheckForWorkCmd

Generic scheduler check command that implements the CheckForWorkCmd interface and will always indicate that work will need to be done.

See Also:
Serialized Form

Field Summary
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.scheduler.commands.CheckForWorkCmd
COPYRIGHT, defaultCommandClassName, NAME
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
Constructor Summary
CheckForWorkGenericImpl()
Creates the generic check for work task command.
Method Summary
boolean checkProcessingNeeded()
Will always indicate that work needs to be done by returning true.
void setStoreId(java.lang.Integer storeId)
Empty method which does not do anything because the result is always true.
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, isReadyToCallExecute, performExecute, reset, 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

CheckForWorkGenericImpl

public CheckForWorkGenericImpl()
Creates the generic check for work task command.
Method Detail

checkProcessingNeeded

public boolean checkProcessingNeeded()
Will always indicate that work needs to be done by returning true.
Specified by:
checkProcessingNeeded in interface CheckForWorkCmd
Returns:
Always return a true value.

setStoreId

public void setStoreId(java.lang.Integer storeId)
Empty method which does not do anything because the result is always true.
Specified by:
setStoreId in interface CheckForWorkCmd
Parameters:
storeId - the store id.

Feedback