| Interface | osid.assessment.authoring.AssessmentPartSearchSession | ||
|---|---|---|---|
| Implements | osid.assessment.authoring.AssessmentPartQuerySession | ||
| Used By | osid.assessment.authoring.AssessmentAuthoringManager | ||
osid.assessment.authoring.AssessmentAuthoringProxyManager | |||
| Description |
This session provides methods for searching among
getAssessmentPartsByQuery() is the basic search
method and returns a list of AssessmentParts . A
more advanced search may be performed with
getAssessmentPartsBySearch() . It accepts an
AssessmentPartSearch in addition to the query for
the purpose of specifying additional options affecting the
entire search, such as workflow.
getAssessmentPartsBySearch() returns an
AssessmentPartSearchResults that can be used to
access the resulting AssessmentPartList or be
used to perform a search within the result set through
AssessmentPartSearch .
This session defines views that offer differing behaviors for searching.
AssessmentParts may have a query record indicated
by their respective record types. Thequery record is accessed
via the AssessmentPartQuery . | ||
| Method | getAssessmentPartSearch | ||
| Description |
Gets an assessment part search. | ||
| Return | osid.assessment.authoring.AssessmentPartSearch | the assessment part search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentPartSearchOrder | ||
| Description |
Gets an assessment part search order. The
| ||
| Return | osid.assessment.authoring.AssessmentPartSearchOrder | the assessment part search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentPartsBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.assessment.authoring.AssessmentPartQuery | assessmentPartQuery | the assessment part query |
osid.assessment.authoring.AssessmentPartSearch | assessmentPartSearch | the assessment part search | |
| Return | osid.assessment.authoring.AssessmentPartSearchResults | the returned search results | |
| Errors | NULL_ARGUMENT | assessmentPartQuery or assessmentPartSearch is
null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | assessmentPartQuery or assessmentPartSearch is
not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentPartQueryFromInspector | ||
| Description |
Gets an assessment part query from an inspector. The
inspector is available from an
| ||
| Parameters | osid.assessment.authoring.AssessmentPartQueryInspector | assessmentPartQueryInspector | an assessment part query inspector |
| Return | osid.assessment.authoring.AssessmentPartQuery | the assessment part query | |
| Errors | NULL_ARGUMENT | assessmentPartQueryInspector is null | |
| UNSUPPORTED | assessmentPartQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |