public interface MyOrderSession extends OsidSession
This session defines methods for retrieving orders.
This lookup session defines several views:
 OrderAdminSession.   The methods  useFederatedStoreView()  and  
  useIsolatedStoreView()  behave as a radio group and one should be 
  selected before invoking any lookup methods. 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canLookupMyOrders()Tests if this user can lookup orders. | 
| OrderList | getClosedOrders()Gets all closed orders for the customer related to this agent. | 
| OrderList | getOpenOrders()Gets all submitted and not closed orders for the customer related to 
  this agent. | 
| OrderList | getOrders()Gets all orders for the subscriber related to the current agent. | 
| Store | getStore()Gets the   Store associated with this session. | 
| Id | getStoreId()Gets the   Store  Id associated with this 
  session. | 
| OrderList | getUnsubmittedOrders()Gets all orders not yet submitted for the customer related to this 
  agent. | 
| void | useComparativeOrderView()The returns from the lookup methods may omit or translate elements 
  based on this session, such as authorization, and not result in an 
  error. | 
| void | useFederatedStoreView()Federates the view for methods in this session. | 
| void | useIsolatedStoreView()Isolates the view for methods in this session. | 
| void | usePlenaryOrderView()A complete view of the   Order returns is desired. | 
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getStoreId()
 Store   Id  associated with this 
  session. Store Id  associated with this sessionmandatory - This method must be implemented. Store getStore() throws OperationFailedException, PermissionDeniedException
 Store  associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canLookupMyOrders()
 
  PERMISSION_DENIED.  This is intended as a hint to an 
  application that may opt not to offer these operations. false  if order lookup methods are not 
          authorized,  true  otherwisemandatory - This method must be implemented. void useComparativeOrderView()
mandatory - This method is must be implemented. void usePlenaryOrderView()
 Order  returns is desired. 
  Methods will return what is requested or result in an error. This view 
  is used when greater precision is desired at the expense of 
  interoperability.mandatory - This method is must be implemented. void useFederatedStoreView()
mandatory - This method is must be implemented. void useIsolatedStoreView()
mandatory - This method is must be implemented. OrderList getOrders() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. OrderList getUnsubmittedOrders() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. OrderList getOpenOrders() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. OrderList getClosedOrders() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.