com.ibm.commerce.order.commands
Interface GetCurrentPendingOrdersCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
GetCurrentPendingOrdersCmdImpl

public interface GetCurrentPendingOrdersCmd
extends TaskCommand

Obtains the list of current pending orders


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 java.util.Enumeration getOrderList()
          Returns the list of current pending order ids.
 boolean getResult()
          Checks if the result is valid.
 void setMemberId(java.lang.Long aMemberId)
          Sets the id of the member whose current pending orders are to be retrieved.
 void setOrderByLastUpdate(boolean aByLastUpdate)
          Sets the flag to indicate if orders to be retrieved in sequence of last update timestamp.
 void setStoreId(java.lang.Integer aStoreId)
          Sets the id of the store that owns the pending orders.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

getOrderList

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

getResult

public boolean getResult()
Checks if the result is valid.
Returns:
the result. A true value (default) means valid. A false value otherwise.

setMemberId

public void setMemberId(java.lang.Long aMemberId)
Sets the id of the member whose current pending orders are to be retrieved.
Parameters:
aMemberId - The reference number of the member whose current pending orders are to be retrieved.

setOrderByLastUpdate

public void setOrderByLastUpdate(boolean aByLastUpdate)
Sets the flag to indicate if orders to be retrieved in sequence of last update timestamp.
Parameters:
aByLastUpdate - The indicator to decide if sequence is desired. A true value (default) means sequence is desired. A false value otherwise.

setStoreId

public void setStoreId(java.lang.Integer aStoreId)
Sets the id of the store that owns the pending orders.
Parameters:
aStoreId - The reference number of the store that owns the pending orders.