| Interface | osid.provisioning.RequestLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for retrieving  This session defines views that offer differing behaviors when retrieving multiple objects. 
  Generally, the comparative view should be used for most 
                applications as it permits operation even if there is data 
                that cannot be accessed. The methods   | ||
| Method | getDistributorId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Distributor Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributor | ||
| Description | 
                     Gets the   | ||
| Return | osid.provisioning.Distributor | the distributor | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupRequests | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if lookup methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeRequestView | ||
| Description | 
                     The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | usePlenaryRequestView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedDistributorView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include requests in distributors which are children of this distributor in the distributor hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedDistributorView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts lookups to this distributor only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useEffectiveRequestView | ||
| Description | 
                     Only requests whose effective dates are current are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyEffectiveRequestView | ||
| Description | 
                     All requests of any effective dates are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getRequest | ||
| Description | 
                     Gets the    In effective mode, requests are returned that are currently effective. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.id.Id | requestId |  Id  of the  Request   | 
| Return | osid.provisioning.Request | the request | |
| Errors | NOT_FOUND |  requestId  not found  |                 |
| NULL_ARGUMENT |  requestId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getRequestsByIds | ||
| Description | 
                     Gets a    In effective mode, requests are returned that are currently effective. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.id.IdList | requestIds | the list of  Ids  to retrieve  | 
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | NOT_FOUND | an  Id  was not found  |                 |
| NULL_ARGUMENT |  requestIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsByGenusType | ||
| Description | 
                     Gets a    In effective mode, requests are returned that are currently effective. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.type.Type | requestGenusType | a request genus type | 
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | NULL_ARGUMENT |  requestGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsByParentGenusType | ||
| Description | 
                     Gets a    In effective mode, requests are returned that are currently effective. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.type.Type | requestGenusType | a request genus type | 
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | NULL_ARGUMENT |  requestGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsByRecordType | ||
| Description | 
                     Gets a    In effective mode, requests are returned that are currently effective. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.type.Type | requestRecordType | a request record type | 
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | NULL_ARGUMENT |  requestRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsOnDate | ||
| Description | 
                     Gets a list of requests effective during the entire given date range inclusive but not confined to the date range.   In effective mode, requests are returned that are currently effective in addition to being effective during the given date range. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.calendaring.DateTime | from | start of date range | 
osid.calendaring.DateTime | to | end of date range | |
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NULL_ARGUMENT |  from  or  to  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsForRequester | ||
| Description | 
                     Gets a list of requests for a requester.    In effective mode, requests are returned that are currently effective. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.id.Id | resourceId | a resource  Id   | 
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | NULL_ARGUMENT |  resourceId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsForRequesterOnDate | ||
| Description | 
                     Gets a list of requests for a requester and effective 
                    during the entire given date range inclusive but not 
                    confined to the date range.    In effective mode, requests are returned that are currently effective in addition to being effective during the given date range. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.id.Id | resourceId | a resource  Id   | 
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NULL_ARGUMENT |  resourceId, from  or  to  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsForQueue | ||
| Description | 
                     Gets a list of requests for a queue.    In effective mode, requests are returned that are currently effective. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.id.Id | queueId | a queue  Id   | 
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | NULL_ARGUMENT |  queueId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsForQueueOnDate | ||
| Description | 
                     Gets a list of requests for a queue and effective 
                    during the entire given date range inclusive but not 
                    confined to the date range.    In effective mode, requests are returned that are currently effective in addition to being effective during the given date range. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.id.Id | queueId | a queue  Id   | 
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NULL_ARGUMENT |  queueId, from  or  to  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsForRequesterAndQueue | ||
| Description | 
                     Gets a list of requests for a requester and queue. In plenary mode, the returned list contains all known requests or an error results. Otherwise, the returned list may contain only those requests that are accessible through this session. In effective mode, requests are returned that are currently effective. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.id.Id | resourceId | a resource  Id   | 
osid.id.Id | queueId | a queue  Id   | |
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | NULL_ARGUMENT |  resourceId  or  queueId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestsForRequesterAndQueueOnDate | ||
| Description | 
                     Gets a list of requests for a requester and queue and 
                    effective during the entire given date range inclusive but 
                    not confined to the date range.    In effective mode, requests are returned that are currently effective in addition to being effective during the given date range. In any effective mode, effective requests and those currently expired are returned.  | ||
| Parameters | osid.id.Id | resourceId | a resource  Id   | 
osid.id.Id | queueId | a queue  Id   | |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
| Return | osid.provisioning.RequestList | the returned  Request  list  | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NULL_ARGUMENT |  resourceId, queueId, from  or  to  is  
null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequests | ||
| Description | 
                     Gets all  In plenary mode, the returned list contains all known requests or an error results. Otherwise, the returned list may contain only those requests that are accessible through this session. In effective mode, requests are returned that are currently effective. In any effective mode, effective requests and those currently expired are returned.  | ||
| Return | osid.provisioning.RequestList | a list of  Requests   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |