com.ibm.commerce.inventory.scheduled.commands

Class CheckReleaseExpiredAllocationsCmdImpl

    • Constructor Detail

      • CheckReleaseExpiredAllocationsCmdImpl

        public CheckReleaseExpiredAllocationsCmdImpl()
        This is the class constructor.
    • Method Detail

      • checkProcessingNeeded

        public boolean checkProcessingNeeded()
        Return the boolean ibIsThereWork.

        Specified by:
        checkProcessingNeeded in interface CheckForWorkCmd
        Returns:
        True indicates that there is work to do.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Checks to see if store id has been set.

        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        true if exists, otherwise return false.
      • reset

        public void reset()
        Reset all instance variables.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setStoreId

        public void setStoreId(java.lang.Integer argStoreToCheck)
        Set the store id.
        Specified by:
        setStoreId in interface CheckForWorkCmd
        Parameters:
        argStoreToCheck - store id to check