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

This session provides methods for searching GradebookColumn objects. The search query is constructed using the GradebookColumnQuery.

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

This session defines views that offer differing behaviors for searching.

  • federated gradebook view: searches include columns in gradebooks of which this gradebook is an ancestor in the gradebook hierarchy
  • isolated gradebook view: searches are restricted to columns in this gradebook

Gradebook columns may have a query record indicated by their respective record types. The query record is accessed via the GradebookColumnQuery.

MethodgetGradebookColumnSearch
Description

Gets a gradebook column search.

Returnosid.grading.GradebookColumnSearch the gradebook column search
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnSearchOrder
Description

Gets a gradebook column search order. The GradebookColumnSearchOrder is supplied to a GradebookColumnSearch to specify the ordering of results.

Returnosid.grading.GradebookColumnSearchOrder the gradebook column search order
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnsBySearch
Description

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

Parametersosid.grading.GradebookColumnQuerygradebookColumnQuery the gradebook column query
osid.grading.GradebookColumnSearchgradebookColumnSearch the gradebook column search
Returnosid.grading.GradebookColumnSearchResults the gradebook column search results
ErrorsNULL_ARGUMENT gradebookColumnQuery or gradebookColumnSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED gradebookColumnSearch or gradebookColumnQuery is not of this service
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnQueryFromInspector
Description

Gets a gradebook column query from an inspector. The inspector is available from an GradebookColumnSearchResults.

Parametersosid.grading.GradebookColumnQueryInspectorgradebookColumnQueryInspector a gradebook column query inspector
Returnosid.grading.GradebookColumnQuery the gradebook column query
ErrorsNULL_ARGUMENT gradebookColumnQueryInspector is null
UNSUPPORTED gradebookColumnQueryInspector is not of this service
Compliancemandatory This method must be implemented.