com.ibm.commerce.order.commands
Interface GetCurrentPendingOrdersCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
GetCurrentPendingOrdersCmdImpl

public interface GetCurrentPendingOrdersCmd
extends TaskCommand

Obtains a list of current pending orders for a Member.


Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
static java.lang.String defaultCommandClassName
          The name of the default implementation class for this command interface.
static java.lang.String NAME
          The name of this command interface.
 
Method Summary
 java.util.Enumeration getOrderList()
          Returns the list of current pending order identifiers.
 boolean getResult()
          Checks if the result is valid.
 void setMemberId(java.lang.Long aMemberId)
          Sets the identifier of the Member whose current pending Orders are to be retrieved.
 void setOrderByLastUpdate(boolean aByLastUpdate)
          Sets the flag to indicate that Orders should be retrieved in ascending sequence.
 void setStoreId(java.lang.Integer aStoreId)           Sets the identifier of the Store that owns the pending Orders.
 

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

NAME

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

defaultCommandClassName

public 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

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

getResult

public boolean getResult()
Checks if the result is valid.
Returns:
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.
Parameters:
aMemberId - mandatory. The identifier of the Member whose current pending Orders are to be retrieved.

setOrderByLastUpdate

public 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

public 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.