| Interface | osid.resourcing.rules.JobConstrainerLookupSession | ||
|---|---|---|---|
| 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 | canLookupJobConstrainers | ||
| 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 | useComparativeJobConstrainerView | ||
| 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 | usePlenaryJobConstrainerView | ||
| 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 constrainer 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 | useActiveJobConstrainerView | ||
| Description | 
                     Only active job constrainers are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusJobConstrainerView | ||
| Description | 
                     All active and inactive job constrainers are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getJobConstrainer | ||
| Description | 
                     Gets the    In active mode, job constrainers are returned that are currently active. In any status mode, active and inactive job constrainers are returned.  | ||
| Parameters | osid.id.Id | jobConstrainerId |  Id  of the  JobConstrainer   | 
| Return | osid.resourcing.rules.JobConstrainer | the job constrainer | |
| Errors | NOT_FOUND |  jobConstrainerId  not found  |                 |
| NULL_ARGUMENT |  jobConstrainerId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getJobConstrainersByIds | ||
| Description | 
                     Gets a   in the order of the list, including duplicates, or an 
                    error results if an  In active mode, job constrainers are returned that are currently active. In any status mode, active and inactive job constrainers are returned.  | ||
| Parameters | osid.id.IdList | jobConstrainerIds | the list of  Ids  to retrieve  | 
| Return | osid.resourcing.rules.JobConstrainerList | the returned  JobConstrainer  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  jobConstrainerIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getJobConstrainersByGenusType | ||
| Description | 
                     Gets a    In active mode, job constrainers are returned that are currently active. In any status mode, active and inactive job constrainers are returned.  | ||
| Parameters | osid.type.Type | jobConstrainerGenusType | a job constrainer genus type | 
| Return | osid.resourcing.rules.JobConstrainerList | the returned  JobConstrainer  list  | |
| Errors | NULL_ARGUMENT |  jobConstrainerGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getJobConstrainersByParentGenusType | ||
| Description | 
                     Gets a    In active mode, job constrainers are returned that are currently active. In any status mode, active and inactive job constrainers are returned.  | ||
| Parameters | osid.type.Type | jobConstrainerGenusType | a job constrainer genus type | 
| Return | osid.resourcing.rules.JobConstrainerList | the returned  JobConstrainer  list  | |
| Errors | NULL_ARGUMENT |  jobConstrainerGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getJobConstrainersByRecordType | ||
| Description | 
                     Gets a    In active mode, job constrainers are returned that are currently active. In any status mode, active and inactive job constrainers are returned.  | ||
| Parameters | osid.type.Type | jobConstrainerRecordType | a job constrainer record type | 
| Return | osid.resourcing.rules.JobConstrainerList | the returned  JobConstrainer  list  | |
| Errors | NULL_ARGUMENT |  jobConstrainerRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getJobConstrainers | ||
| Description | 
                     Gets all  In plenary mode, the returned list contains all known job constrainer or an error results. Otherwise, the returned list may contain only those job constrainer that are accessible through this session. In active mode, job constrainers are returned that are currently active. In any status mode, active and inactive job constrainers are returned.  | ||
| Return | osid.resourcing.rules.JobConstrainerList | the returned  JobConstrainer  list  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |