Interface | osid.course.ActivitySearchSession | ||
---|---|---|---|
Implements | osid.course.ActivityQuerySession | ||
Description |
This session provides methods for searching among This session defines views that offer differing behaviors for searching.
Activities may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
Method | getActivitySearch | ||
Description |
Gets an activity search. | ||
Return | osid.course.ActivitySearch | the activity search | |
Compliance | mandatory | This method must be implemented. | |
Method | getActivitySearchOrder | ||
Description |
Gets an activity search order. The | ||
Return | osid.course.ActivitySearchOrder | the activity search order | |
Compliance | mandatory | This method must be implemented. | |
Method | getActivitiesBySearch | ||
Description |
Gets the search results matching the given search query using the given search. | ||
Parameters | osid.course.ActivityQuery | activityQuery | the activity query |
osid.course.ActivitySearch | activitySearch | the activity search | |
Return | osid.course.ActivitySearchResults | the activity search results | |
Errors | NULL_ARGUMENT | activityQuery or activitySearch is
null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | activityQuery or activitySearch is not of
this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivityQueryFromInspector | ||
Description |
Gets an activity query from an inspector. The inspector
is available from an | ||
Parameters | osid.course.ActivityQueryInspector | activityQueryInspector | an activity query inspector |
Return | osid.course.ActivityQuery | the activity query | |
Errors | NULL_ARGUMENT | activityQueryInspector is null | |
UNSUPPORTED | activityQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |