Interface | osid.learning.ObjectiveQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for searching This session defines views that offer differing behaviors for searching.
Objectives may have a query record indicated by their
respective record types. The query record is accessed via 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 | canSearchObjectives | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if search methods are not authorized, true
otherwise | |
Compliance | mandatory | This method 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 searches to this objective bank only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getObjectiveQuery | ||
Description |
Gets an objective query. | ||
Return | osid.learning.ObjectiveQuery | the objective query | |
Compliance | mandatory | This method must be implemented. | |
Method | getObjectivesByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.learning.ObjectiveQuery | objectiveQuery | the objective query |
Return | osid.learning.ObjectiveList | the returned ObjectiveList | |
Errors | NULL_ARGUMENT | objectiveQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | objectiveQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |