Class GetCurrentPendingOrdersCmdImpl

    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetCurrentPendingOrdersCmdImpl

        public GetCurrentPendingOrdersCmdImpl()
        Default constructor
    • Method Detail

      • getOrderList

        public java.util.Enumeration getOrderList()
        Returns the list of current pending order identifiers.
        Specified by:
        getOrderList in interface GetCurrentPendingOrdersCmd
        Enumeration of OrderAccessBean.
      • getResult

        public boolean getResult()
        Checks if the result is valid.
        Specified by:
        getResult in interface GetCurrentPendingOrdersCmd
        true indicates the performExecute method has completed successfully.
      • setMemberId

        public void setMemberId(java.lang.Long aMemberId)
        Sets the identifier of the Member whose current pending Orders are to be retrieved.
        Specified by:
        setMemberId in interface GetCurrentPendingOrdersCmd
        aMemberId - mandatory. The identifier of the Member whose current pending Orders are to be retrieved.
      • setOrderByLastUpdate

        public void setOrderByLastUpdate(boolean aOrderBy)
        Sets the flag to indicate that Orders should be retrieved in ascending sequence.
        Specified by:
        setOrderByLastUpdate in interface GetCurrentPendingOrdersCmd
        aOrderBy - optional. true indicates that Orders should be retrieved in ascending sequence of their lastUpdate timestamp attribute values.
      • setStoreId

        public void setStoreId(java.lang.Integer aStoreId)
        Sets the identifier of the Store that owns the pending Orders.
        Specified by:
        setStoreId in interface GetCurrentPendingOrdersCmd
        aStoreId - optional. If specified, only Orders owned by the specified Store are retrieved.
      • reset

        public void reset()
        Description copied from class: AbstractECTargetableCommand
        This method is called after a command has been executed. It is used to reset its states variables. After the call to reset, the command should be able to be executed again.
        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand