Interface | osid.learning.ActivitySearchSession | ||
---|---|---|---|
Implements | osid.learning.ActivityQuerySession | ||
Description |
This session provides methods for searching 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.learning.ActivitySearch | the activity search | |
Compliance | mandatory | This method must be implemented. | |
Method | getActivitySearchOrder | ||
Description |
Gets an activity search order. The | ||
Return | osid.learning.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.learning.ActivityQuery | activityQuery | the activity query |
osid.learning.ActivitySearch | activitiesearch | the activity search | |
Return | osid.learning.ActivitySearchResults | the returned search results | |
Errors | NULL_ARGUMENT | activityQuery or activitiesearch is
null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | activitiesearch or activityQuery 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.learning.ActivityQueryInspector | activityQueryInspector | an activity bank query inspector |
Return | osid.learning.ActivityQuery | the activity query | |
Errors | NULL_ARGUMENT | activityQueryInspector is null | |
UNSUPPORTED | activityQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |