| Interface | osid.learning.ObjectiveLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for retrieving  This session defines views that offer differing behaviors when retrieving multiple objects. 
  Objectives may have an additional records indicated by 
                their respective record types. The record may not be accessed 
                through a cast of the   | ||
| Method | getObjectiveBankId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  ObjectiveBank Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getObjectiveBank | ||
| Description | 
                     Gets the   | ||
| Return | osid.learning.ObjectiveBank | the  ObjectiveBank  associated with this session  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupObjectives | ||
| 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 | useComparativeObjectiveView | ||
| 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 | usePlenaryObjectiveView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedObjectiveBankView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include objectives in objective banks which are children of this objective bank in the objective bank hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedObjectiveBankView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts lookups to this objective bank only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getObjective | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | objectiveId |  Id  of the  Objective   | 
| Return | osid.learning.Objective | the objective | |
| Errors | NOT_FOUND |  objectiveId  not found  |                 |
| NULL_ARGUMENT |  objectiveId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getObjectivesByIds | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.id.IdList | objectiveIds | the list of  Ids  to retrieve  | 
| Return | osid.learning.ObjectiveList | the returned  Objective  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  objectiveIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getObjectivesByGenusType | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.type.Type | objectiveGenusType | an objective genus type | 
| Return | osid.learning.ObjectiveList | the returned  Objective  list  | |
| Errors | NULL_ARGUMENT |  objectiveGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getObjectivesByParentGenusType | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.type.Type | objectiveGenusType | an objective genus type | 
| Return | osid.learning.ObjectiveList | the returned  Objective  list  | |
| Errors | NULL_ARGUMENT |  objectiveGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getObjectivesByRecordType | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.type.Type | objectiveRecordType | an objective record type | 
| Return | osid.learning.ObjectiveList | the returned  Objective  list  | |
| Errors | NULL_ARGUMENT |  objectiveRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getObjectives | ||
| Description | 
                     Gets all   | ||
| Return | osid.learning.ObjectiveList | an  ObjectiveList   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |