| Interface | osid.resourcing.rules.JobProcessorLookupSession | ||
|---|---|---|---|
| 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 | getFoundryId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Foundry Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getFoundry | ||
| Description | 
                     Gets the   | ||
| Return | osid.resourcing.Foundry | the foundry | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupJobProcessors | ||
| 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 | useComparativeJobProcessorView | ||
| 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 | usePlenaryJobProcessorView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedFoundryView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include job processor in foundries which are children of this foundry in the foundry hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedFoundryView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts lookups to this foundry only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useActiveJobProcessorView | ||
| Description | 
                     Only active job processors are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusJobProcessorView | ||
| Description | 
                     All active and inactive job processors are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getJobProcessor | ||
| Description | 
                     Gets the    In active mode, job processors are returned that are currently active. In any status mode, active and inactive job processors are returned.  | ||
| Parameters | osid.id.Id | jobProcessorId |  Id  of the  JobProcessor   | 
| Return | osid.resourcing.rules.JobProcessor | the job processor | |
| Errors | NOT_FOUND |  jobProcessorId  not found  |                 |
| NULL_ARGUMENT |  jobProcessorId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getJobProcessorsByIds | ||
| Description | 
                     Gets a    In active mode, job processors are returned that are currently active. In any status mode, active and inactive job processors are returned.  | ||
| Parameters | osid.id.IdList | jobProcessorIds | the list of  Ids  to retrieve  | 
| Return | osid.resourcing.rules.JobProcessorList | the returned  JobProcessor  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  jobProcessorIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getJobProcessorsByGenusType | ||
| Description | 
                     Gets a    In active mode, job processors are returned that are currently active. In any status mode, active and inactive job processors are returned.  | ||
| Parameters | osid.type.Type | jobProcessorGenusType | a job processor genus type | 
| Return | osid.resourcing.rules.JobProcessorList | the returned  JobProcessor  list  | |
| Errors | NULL_ARGUMENT |  jobProcessorGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getJobProcessorsByParentGenusType | ||
| Description | 
                     Gets a    In active mode, job processors are returned that are currently active. In any status mode, active and inactive job processors are returned.  | ||
| Parameters | osid.type.Type | jobProcessorGenusType | a job processor genus type | 
| Return | osid.resourcing.rules.JobProcessorList | the returned  JobProcessor  list  | |
| Errors | NULL_ARGUMENT |  jobProcessorGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getJobProcessorsByRecordType | ||
| Description | 
                     Gets a    In active mode, job processors are returned that are currently active. In any status mode, active and inactive job processors are returned.  | ||
| Parameters | osid.type.Type | jobProcessorRecordType | a job processor record type | 
| Return | osid.resourcing.rules.JobProcessorList | the returned  JobProcessor  list  | |
| Errors | NULL_ARGUMENT |  jobProcessorRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getJobProcessors | ||
| Description | 
                     Gets all  In plenary mode, the returned list contains all known job processor or an error results. Otherwise, the returned list may contain only those job processor that are accessible through this session. In active mode, job processors are returned that are currently active. In any status mode, active and inactive job processors are returned.  | ||
| Return | osid.resourcing.rules.JobProcessorList | the returned  JobProcessor  list  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |