OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentOfferedQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Description

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

MethodmatchAssessmentId
Description

Sets the assessment Id for this query.

Parametersosid.id.IdassessmentIdan assessment Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentId is null
CompliancemandatoryThis method must be implemented.
MethodclearAssessmentIdTerms
Description

Clears all assessment Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAssessmentQuery
Description

Tests if an AssessmentQuery is available.

Returnboolean true if an assessment query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentQuery
Description

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

Returnosid.assessment.AssessmentQuerythe assessment query
ErrorsUNIMPLEMENTED supportsAssessmentQuery() is false
ComplianceoptionalThis method must be implemented if supportsAssessmentQuery() is true.
MethodclearAssessmentTerms
Description

Clears all assessment terms.

CompliancemandatoryThis method must be implemented.
MethodmatchLevelId
Description

Sets the level grade Id for this query.

Parametersosid.id.IdgradeIda grade Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeId is null
CompliancemandatoryThis method must be implemented.
MethodclearLevelIdTerms
Description

Clears all level Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsLevelQuery
Description

Tests if a GradeQuery is available.

Returnboolean true if a grade query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetLevelQuery
Description

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

Returnosid.grading.GradeQuerythe grade query
ErrorsUNIMPLEMENTED supportsLevelQuery() is false
ComplianceoptionalThis method must be implemented if supportsLevelQuery() is true.
MethodmatchAnyLevel
Description

Matches an assessment offered that has any level assigned.

Parametersbooleanmatch true to match offerings with any level, false to match offerings with no levsls
CompliancemandatoryThis method must be implemented.
MethodclearLevelTerms
Description

Clears all level terms.

CompliancemandatoryThis method must be implemented.
MethodmatchItemsSequential
Description

Match sequential assessments.

Parametersbooleanmatch true for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearItemsSequentialTerms
Description

Clears all sequential terms.

CompliancemandatoryThis method must be implemented.
MethodmatchItemsShuffled
Description

Match shuffled item assessments.

Parametersbooleanmatch true for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearItemsShuffledTerms
Description

Clears all shuffled terms.

CompliancemandatoryThis method must be implemented.
MethodmatchStartTime
Description

Matches assessments whose start time falls between the specified range inclusive.

Parametersosid.calendaring.DateTimestartstart of range
osid.calendaring.DateTimeendend of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT end is less than start
CompliancemandatoryThis method must be implemented.
MethodmatchAnyStartTime
Description

Matches offerings that has any start time assigned.

Parametersbooleanmatch true to match offerings with any start time, false to match offerings with no start time
CompliancemandatoryThis method must be implemented.
MethodclearStartTimeTerms
Description

Clears all scheduled terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDeadline
Description

Matches assessments whose end time falls between the specified range inclusive.

Parametersosid.calendaring.DateTimestartstart of range
osid.calendaring.DateTimeendend of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT end is less than start
NULL_ARGUMENT start or end is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyDeadline
Description

Matches offerings that have any deadline assigned.

Parametersbooleanmatch true to match offerings with any deadline, false to match offerings with no deadline
CompliancemandatoryThis method must be implemented.
MethodclearDeadlineTerms
Description

Clears all deadline terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDuration
Description

Matches assessments whose duration falls between the specified range inclusive.

Parametersosid.calendaring.Durationlowstart range of duration
osid.calendaring.Durationhighend range of duration
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT end is less than start
NULL_ARGUMENT start or end is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyDuration
Description

Matches offerings that have any duration assigned.

Parametersbooleanmatch true to match offerings with any duration, false to match offerings with no duration
CompliancemandatoryThis method must be implemented.
MethodclearDurationTerms
Description

Clears all duration terms.

CompliancemandatoryThis method must be implemented.
MethodmatchScoreSystemId
Description

Sets the grade system Id for this query.

Parametersosid.id.IdgradeSystemIda grade system Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeSystemId is null
CompliancemandatoryThis method must be implemented.
MethodclearScoreSystemIdTerms
Description

Clears all grade system Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsScoreSystemQuery
Description

Tests if a GradeSystemQuery is available.

Returnboolean true if a grade system query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetScoreSystemQuery
Description

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

Returnosid.grading.GradeSystemQuerythe grade system query
ErrorsUNIMPLEMENTED supportsScoreSystemQuery() is false
ComplianceoptionalThis method must be implemented if supportsScoreSystemQuery() is true.
MethodmatchAnyScoreSystem
Description

Matches taken assessments that have any grade system assigned.

Parametersbooleanmatch true to match assessments with any grade system, false to match assessments with no grade system
CompliancemandatoryThis method must be implemented.
MethodclearScoreSystemTerms
Description

Clears all grade system terms.

CompliancemandatoryThis method must be implemented.
MethodmatchGradeSystemId
Description

Sets the grade system Id for this query.

Parametersosid.id.IdgradeSystemIda grade system Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeSystemId is null
CompliancemandatoryThis method must be implemented.
MethodclearGradeSystemIdTerms
Description

Clears all grade system Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsGradeSystemQuery
Description

Tests if a GradeSystemQuery is available.

Returnboolean true if a grade system query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemQuery
Description

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

Returnosid.grading.GradeSystemQuerythe grade system query
ErrorsUNIMPLEMENTED supportsScoreSystemQuery() is false
ComplianceoptionalThis method must be implemented if supportsScoreSystemQuery() is true.
MethodmatchAnyGradeSystem
Description

Matches taken assessments that have any grade system assigned.

Parametersbooleanmatch true to match assessments with any grade system, false to match assessments with no grade system
CompliancemandatoryThis method must be implemented.
MethodclearGradeSystemTerms
Description

Clears all grade system terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRubricId
Description

Sets the rubric assessment offered Id for this query.

Parametersosid.id.IdassessmentOfferedIdan assessment offered Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentOfferedId is null
CompliancemandatoryThis method must be implemented.
MethodclearRubricIdTerms
Description

Clears all rubric assessment offered Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRubricQuery
Description

Tests if an AssessmentOfferedQuery is available.

Returnboolean true if a rubric assessment offered query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRubricQuery
Description

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

Returnosid.assessment.AssessmentOfferedQuerythe assessment offered query
ErrorsUNIMPLEMENTED supportsRubricQuery() is false
ComplianceoptionalThis method must be implemented if supportsRubricQuery() is true.
MethodmatchAnyRubric
Description

Matches an assessment offered that has any rubric assessment assigned.

Parametersbooleanmatch true to match assessments offered with any rubric, false to match assessments offered with no rubric
CompliancemandatoryThis method must be implemented.
MethodclearRubricTerms
Description

Clears all rubric assessment terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAssessmentTakenId
Description

Sets the assessment taken Id for this query.

Parametersosid.id.IdassessmentTakenIdan assessment taken Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentTakenId is null
CompliancemandatoryThis method must be implemented.
MethodclearAssessmentTakenIdTerms
Description

Clears all assessment taken Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAssessmentTakenQuery
Description

Tests if an AssessmentTakenQuery is available.

Returnboolean true if an assessment taken query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentTakenQuery
Description

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

Returnosid.assessment.AssessmentTakenQuerythe assessment taken query
ErrorsUNIMPLEMENTED supportsAssessmentTakenQuery() is false
ComplianceoptionalThis method must be implemented if supportsAssessmentTakenQuery() is true.
MethodmatchAnyAssessmentTaken
Description

Matches offerings that have any taken assessment version.

Parametersbooleanmatch true to match offerings with any taken assessment, false to match offerings with no assessmen taken
CompliancemandatoryThis method must be implemented.
MethodclearAssessmentTakenTerms
Description

Clears all assessment taken terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBankId
Description

Sets the bank Id for this query.

Parametersosid.id.IdbankIda bank Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT bankId is null
CompliancemandatoryThis method must be implemented.
MethodclearBankIdTerms
Description

Clears all bank Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBankQuery
Description

Tests if a BankQuery is available.

Returnboolean true if a bank query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBankQuery
Description

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

Returnosid.assessment.BankQuerythe bank query
ErrorsUNIMPLEMENTED supportsBankQuery() is false
ComplianceoptionalThis method must be implemented if supportsBankQuery() is true.
MethodclearBankTerms
Description

Clears all bank terms.

CompliancemandatoryThis method must be implemented.
MethodgetAssessmentOfferedQueryRecord
Description

Gets the assessment offered query record corresponding to the given AssessmentOffered record Type. Multiple retrievals produce a nested OR term.

Parametersosid.type.TypeassessmentOfferedRecordTypean assessment offered record type
Returnosid.assessment.records.AssessmentOfferedQueryRecordthe assessment offered query record
ErrorsNULL_ARGUMENT assessmentOfferedRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentOfferedRecordType) is false
CompliancemandatoryThis method must be implemented.