Interface | osid.ontology.SubjectSearchSession | ||
---|---|---|---|
Implements | osid.ontology.SubjectQuerySession | ||
Description |
This session provides methods for searching This session defines views that offer differing behaviors for searching.
Subjects may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
Method | getSubjectSearch | ||
Description |
Gets a subject search. | ||
Return | osid.ontology.SubjectSearch | the subject search | |
Compliance | mandatory | This method must be implemented. | |
Method | getSubjectSearchOrder | ||
Description |
Gets a subject search order. The | ||
Return | osid.ontology.SubjectSearchOrder | the subject search order | |
Compliance | mandatory | This method must be implemented. | |
Method | getSubjectsBySearch | ||
Description |
Gets the search results matching the given search query using the given search. | ||
Parameters | osid.ontology.SubjectQuery | subjectQuery | the subject query |
osid.ontology.SubjectSearch | subjectSearch | the subject search | |
Return | osid.ontology.SubjectSearchResults | the subject search results | |
Errors | NULL_ARGUMENT | subjectQuery or subjectSearch is null
| |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | subjectSearch or subjectQuery is not of this
service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSubjectQueryFromInspector | ||
Description |
Gets a subject query from an inspector. The inspector
is available from a | ||
Parameters | osid.ontology.SubjectQueryInspector | subjectQueryInspector | a subject query inspector |
Return | osid.ontology.SubjectQuery | the subject query | |
Errors | NULL_ARGUMENT | subjectQueryInspector is null | |
UNSUPPORTED | subjectQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |