OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradeEntryQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.grading.GradeEntryQuery
osid.grading.GradeEntryQuerySession
osid.grading.GradeEntrySearchSession
osid.grading.GradeEntrySmartGradebookSession
osid.grading.GradeQuery
osid.grading.GradebookColumnQuery
osid.grading.GradebookQuery
Description

This is the query for searching grade entries. Each method match request produces an AND term while multiple invocations of a method produces a nested OR.

MethodmatchGradebookColumnId
Description

Sets the gradebook column Id for this query.

Parametersosid.id.IdgradebookColumnId a gradebook column Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradebookColumnId is null
Compliancemandatory This method must be implemented.
MethodclearGradebookColumnIdTerms
Description

Clears the gradebook column Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradebookColumnQuery
Description

Tests if a GradebookColumnQuery is available for querying creators.

Returnboolean true if a gradebook column query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnQuery
Description

Gets the query for a gradebook column. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradebookColumnQuery the gradebook column query
ErrorsUNIMPLEMENTED supportsGradebookColumnQuery() is false
Complianceoptional This method must be implemented if supportsGradebookColumnQuery() is true.
MethodclearGradebookColumnTerms
Description

Clears the gradebook column terms.

Compliancemandatory This method must be implemented.
MethodmatchKeyResourceId
Description

Sets the key resource Id for this query.

Parametersosid.id.IdresourceId a resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearKeyResourceIdTerms
Description

Clears the key resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsKeyResourceQuery
Description

Tests if a ResourceQUery is available for querying key resources.

Returnboolean true if a resource query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetKeyResourceQuery
Description

Gets the query for a key resource. Multiple retrievals produce a nested OR term.

Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsKeyResourceQuery() is false
Complianceoptional This method must be implemented if supportsKeyResourceQuery() is true.
MethodmatchAnyKeyResource
Description

Matches grade entries with any key resource.

Parametersbooleanmatch true to match grade entries with any key resource, false to match entries with no key resource
Compliancemandatory This method must be implemented.
MethodclearKeyResourceTerms
Description

Clears the key resource terms.

Compliancemandatory This method must be implemented.
MethodmatchDerived
Description

Matches derived grade entries.

Parametersbooleanmatch true to match derived grade entries, false to match manual entries
Compliancemandatory This method must be implemented.
MethodclearDerivedTerms
Description

Clears the derived terms.

Compliancemandatory This method must be implemented.
MethodmatchOverriddenGradeEntryId
Description

Sets the grade entry Id for an overridden calculated grade entry.

Parametersosid.id.IdgradeEntryId a grade entry Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeEntryId is null
Compliancemandatory This method must be implemented.
MethodclearOverriddenGradeEntryIdTerms
Description

Clears the overridden grade entry Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsOverriddenGradeEntryQuery
Description

Tests if a GradeEntry is available for querying overridden calculated grade entries.

Returnboolean true if a grade entry query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetOverriddenGradeEntryQuery
Description

Gets the query for an overridden derived grade entry. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradeEntryQuery the grade entry query
ErrorsUNIMPLEMENTED supportsOverriddenGradeEntryQuery() is false
Complianceoptional This method must be implemented if supportsOverriddenGradeEntryQuery() is true.
MethodmatchAnyOverriddenGradeEntry
Description

Matches grade entries overriding any calculated grade entry.

Parametersbooleanmatch true to match grade entries overriding any grade entry, false to match entries not overriding any entry
Compliancemandatory This method must be implemented.
MethodclearOverriddenGradeEntryTerms
Description

Clears the overridden grade entry terms.

Compliancemandatory This method must be implemented.
MethodmatchIgnoredForCalculations
Description

Matches grade entries ignored for calculations.

Parametersbooleanmatch true to match grade entries ignored for calculations, false to match entries used in calculations
Compliancemandatory This method must be implemented.
MethodclearIgnoredForCalculationsTerms
Description

Clears the ignored for calculation entries terms.

Compliancemandatory This method must be implemented.
MethodmatchGradeId
Description

Sets the grade Id for this query.

Parametersosid.id.IdgradeId a grade Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearGradeIdTerms
Description

Clears the grade Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradeQuery
Description

Tests if a GradeQuery is available for querying grades.

Returnboolean true if a grade query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradeQuery
Description

Gets the query for a grade. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradeQuery the grade query
ErrorsUNIMPLEMENTED supportsGradeQuery() is false
Complianceoptional This method must be implemented if supportsGradeQuery() is true.
MethodmatchAnyGrade
Description

Matches grade entries with any grade.

Parametersbooleanmatch true to match grade entries with any grade, false to match entries with no grade
Compliancemandatory This method must be implemented.
MethodclearGradeTerms
Description

Clears the grade terms.

Compliancemandatory This method must be implemented.
MethodmatchScore
Description

Matches grade entries which score is between the specified score inclusive.

Parametersdecimalstart start of range
decimalend end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT end is less than start
Compliancemandatory This method must be implemented.
MethodmatchAnyScore
Description

Matches grade entries with any score.

Parametersbooleanmatch true to match grade entries with any score, false to match entries with no score
Compliancemandatory This method must be implemented.
MethodclearScoreTerms
Description

Clears the score terms.

Compliancemandatory This method must be implemented.
MethodmatchTimeGraded
Description

Matches grade entries which graded time is between the specified times inclusive.

Parametersosid.calendaring.DateTimestart start of range
osid.calendaring.DateTimeend end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT end is less than start
Compliancemandatory This method must be implemented.
MethodclearTimeGradedTerms
Description

Clears the time graded terms.

Compliancemandatory This method must be implemented.
MethodmatchGraderId
Description

Sets the agent Id for this query.

Parametersosid.id.IdresourceId a resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearGraderIdTerms
Description

Clears the grader Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGraderQuery
Description

Tests if a ResourceQuery is available for querying graders.

Returnboolean true if a resource query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGraderQuery
Description

Gets the query for an agent. Multiple retrievals produce a nested OR term.

Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsResourceQuery() is false
Complianceoptional This method must be implemented if supportsResourceQuery() is true.
MethodmatchAnyGrader
Description

Matches grade entries with any grader.

Parametersbooleanmatch true to match grade entries with any grader, false to match entries with no grader
Compliancemandatory This method must be implemented.
MethodclearGraderTerms
Description

Clears the grader terms.

Compliancemandatory This method must be implemented.
MethodmatchGradingAgentId
Description

Sets the grading agent Id for this query.

Parametersosid.id.IdagentId an agent Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
Compliancemandatory This method must be implemented.
MethodclearGradingAgentIdTerms
Description

Clears the grader Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradingAgentQuery
Description

Tests if an AgentQuery is available for querying grading agents.

Returnboolean true if an agent query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradingAgentQuery
Description

Gets the query for an agent. Multiple retrievals produce a nested OR term.

Returnosid.authentication.AgentQuery the agent query
ErrorsUNIMPLEMENTED supportsGradingAgentQuery() is false
Complianceoptional This method must be implemented if supportsGradingAgentQuery() is true.
MethodmatchAnyGradingAgent
Description

Matches grade entries with any grading agent.

Parametersbooleanmatch true to match grade entries with any grading agent, false to match entries with no grading agent
Compliancemandatory This method must be implemented.
MethodclearGradingAgentTerms
Description

Clears the grading agent terms.

Compliancemandatory This method must be implemented.
MethodmatchGradebookId
Description

Sets the gradebook Id for this query.

Parametersosid.id.IdgradebookId a gradebook Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradebookId is null
Compliancemandatory This method must be implemented.
MethodclearGradebookIdTerms
Description

Clears the gradebook Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradebookQuery
Description

Tests if a GradebookQuery is available for querying resources.

Returnboolean true if a gradebook query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradebookQuery
Description

Gets the query for a gradebook. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradebookQuery the gradebook query
ErrorsUNIMPLEMENTED supportsGradebookQuery() is false
Complianceoptional This method must be implemented if supportsGradebookQuery() is true.
MethodclearGradebookTerms
Description

Clears the gradebook terms.

Compliancemandatory This method must be implemented.
MethodgetGradeEntryQueryRecord
Description

Gets the grade entry query record corresponding to the given GradeEntry record Type. Multiple retrievals produce a nested OR term.

Parametersosid.type.TypegradeEntryRecordType a grade entry record type
Returnosid.grading.records.GradeEntryQueryRecord the grade entry query record
ErrorsNULL_ARGUMENT gradeEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(gradeEntryRecordType) is false
Compliancemandatory This method must be implemented.