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

This session provides methods for searching among Gradebook objects. The search query is constructed using the GradebookQuery.

getGradebooksByQuery() is the basic search method and returns a list of Gradebook objects.A more advanced search may be performed with getGradebooksBySearch(). It accepts a GradebookSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getGradebooksBySearch() returns a GradebookSearchResults that can be used to access the resulting GradebookList or be used to perform a search within the result set through GradebookSearch.

Gradebooks may have a query record indicated by their respective record types. The query record is accessed via the GradebookQuery.

MethodgetGradebookSearch
Description

Gets a gradebook search.

Returnosid.grading.GradebookSearch a gradebook search
Compliancemandatory This method must be implemented.
MethodgetGradebookSearchOrder
Description

Gets a gradebook search order. The GradebookSearchOrder is supplied to a GradebookSearch to specify the ordering of results.

Returnosid.grading.GradebookSearchOrder the gradebook search order
Compliancemandatory This method must be implemented.
MethodgetGradebooksBySearch
Description

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

Parametersosid.grading.GradebookQuerygradebookQuery the gradebook query
osid.grading.GradebookSearchgradebookSearch the gradebook search
Returnosid.grading.GradebookSearchResults the gradebook search results
ErrorsNULL_ARGUMENT gradebookQuery or gradebookSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED gradebookQuery or gradebookSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetGradebookQueryFromInspector
Description

Gets a gradebook query from an inspector. The inspector is available from an GradenookSearchResults.

Parametersosid.grading.GradebookQueryInspectorgradebookQueryInspector a gradebook query inspector
Returnosid.grading.GradebookQuery the gradebook query
ErrorsNULL_ARGUMENT gradebookQueryInspector is null
UNSUPPORTED gradebookQueryInspector is not of this service
Compliancemandatory This method must be implemented.