com.ibm.commerce.order.commands

Interface GetCurrentPendingOrdersCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    GetCurrentPendingOrdersCmdImpl


    public interface GetCurrentPendingOrdersCmd
    extends TaskCommand
    Obtains a list of current pending orders for a Member.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The name of this command interface.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The name of the default implementation class for this command interface.
        See Also:
        Constant Field Values
    • Method Detail

      • getOrderList

        java.util.Enumeration getOrderList()
        Returns the list of current pending order identifiers.
        Returns:
        Enumeration of OrderAccessBean.
      • getResult

        boolean getResult()
        Checks if the result is valid.
        Returns:
        true indicates the performExecute method has completed successfully.
      • setMemberId

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

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

        void setStoreId(java.lang.Integer aStoreId)
        Sets the identifier of the Store that owns the pending Orders.
        Parameters:
        aStoreId - optional. If specified, only Orders owned by the specified Store are retrieved.