Class CheckProcessBackordersCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, CheckProcessBackordersCmd, CheckForWorkCmd,,,,,,

    public class CheckProcessBackordersCmdImpl
    extends TaskCommandImpl
    implements CheckProcessBackordersCmd
    Default implementation of the CheckProcessBackordersCmd interface. Figure out which stores actually have something that needs to be done by checking if there is work for ProcessBackOrdersCmd to do for inStoreToCheck.
    See Also:
    Serialized Form
    • Constructor Detail

      • CheckProcessBackordersCmdImpl

        public CheckProcessBackordersCmdImpl()
        method description: This is the class constructor.
    • Method Detail

      • checkProcessingNeeded

        public boolean checkProcessingNeeded()
        method description: Return the boolean ibIsThereWork.
        Specified by:
        checkProcessingNeeded in interface CheckForWorkCmd
        True indicates that there is work to do.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        method description: If store id has been set then return true, otherwise return false.
        Specified by:
        isReadyToCallExecute in interface
        isReadyToCallExecute in class AbstractECTargetableCommand
      • reset

        public void reset()
        method description: Reset all instance variables.
        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand
      • setStoreId

        public void setStoreId(java.lang.Integer anStoreToCheck)
        method description: Set the store id.
        Specified by:
        setStoreId in interface CheckForWorkCmd
        anStoreToCheck - the store that backorders will be checked for