OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradeSystemSearchSession
Implementsosid.grading.GradeSystemQuerySession
Used Byosid.grading.GradingManager
osid.grading.GradingProxyManager
Description

This session provides methods for searching among GradeSystems. The search query is constructed using the GradeSystemQuery.

getGradeSystemsByQuery() is the basic search method and returns a list of GradeSystems. A more advanced search may be performed with getGradeSystemsBySearch().It accepts a GradeSystemSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getGradeSystemsBySearch() returns a GradeSystemSearchResults that can be used to access the resulting GradeSystemList or be used to perform a search within the result set through GradeSystemSearch.

This session defines views that offer differing behaviors for searching.

  • federated gradebook view: searches include grade systems in gradebooks of which this gradebook is a anncestor in the gradebook hierarchy
  • isolated gradebook view: searches are restricted to grade systems in this gradebook

Grade systems may have a query record indicated by their respective record types. The query record is accessed via the GradeSystemQuery.

MethodgetGradeSystemSearch
Description

Gets a grade system search.

Returnosid.grading.GradeSystemSearch a grade system search
Compliancemandatory This method must be implemented.
MethodgetGradeSystemSearchOrder
Description

Gets a grade system search order. The GradeSystemSearchOrder is supplied to a GradeSystemSearch to specify the ordering of results.

Returnosid.grading.GradeSystemSearchOrder the grade system search order
Compliancemandatory This method must be implemented.
MethodgetGradeSystemsBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.grading.GradeSystemQuerygradeSystemQuery the grade system query
osid.grading.GradeSystemSearchgradeSystemSearch the grade system search
Returnosid.grading.GradeSystemSearchResults the grade system search results
ErrorsNULL_ARGUMENT gradeSystemQuery or gradeSystemSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED gradeSystemQuery or gradeSystemSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetGradeSystemQueryFromInspector
Description

Gets a grade system query from an inspector. The inspector is available from an GradeSystemSearchResults.

Parametersosid.grading.GradeSystemQueryInspectorgradeSystemQueryInspector a grade system query inspector
Returnosid.grading.GradeSystemQuery the grade system query
ErrorsNULL_ARGUMENT gradeSystemQueryInspector is null
UNSUPPORTED gradeSystemQueryInspector is not of this service
Compliancemandatory This method must be implemented.