| Interface | osid.course.plan.PlanSearchSession | ||
|---|---|---|---|
| Implements | osid.course.plan.PlanQuerySession | ||
| Used By | osid.course.plan.CoursePlanManager | ||
osid.course.plan.CoursePlanProxyManager | |||
| Description |
This session provides methods for searching
getPlansByQuery() is the basic search method and
returns a list of CourseCatalog elements. A more
advanced search may be performed with
getPlansBySearch() . It accepts a
PlanSearch in addition to the query for the
purpose of specifying additional options affecting the entire
search, such as ordering. getPlansBySearch()
returns a PlanSearchResults that can be used to
access the resulting PlanList or be used to
perform a search within the result set through
PlanSearch .
Plans may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getPlanSearch | ||
| Description |
Gets a plan search. | ||
| Return | osid.course.plan.PlanSearch | the plan search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPlanSearchOrder | ||
| Description |
Gets a plan search order. The
| ||
| Return | osid.course.plan.PlanSearchOrder | the plan search order interface | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPlansBySearch | ||
| Description |
Gets the search results matching the given search. | ||
| Parameters | osid.course.plan.PlanQuery | planQuery | the plan query |
osid.course.plan.PlanSearch | planSearch | the plan search | |
| Return | osid.course.plan.PlanSearchResults | the plan search results | |
| Errors | NULL_ARGUMENT | planQuery or planSearch is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | planQuery or planSearch is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPlanQueryFromInspector | ||
| Description |
Gets a plan query from an inspector. The inspector is
available from an | ||
| Parameters | osid.course.plan.PlanQueryInspector | planQueryInspector | a plan query inspector |
| Return | osid.course.plan.PlanQuery | the plan query | |
| Errors | NULL_ARGUMENT | planQueryInspector is null | |
| UNSUPPORTED | planQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |