OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.AssessmentOfferedQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Used Byosid.assessment.AssessmentOfferedQuery
osid.assessment.AssessmentOfferedQuerySession
osid.assessment.AssessmentOfferedSearchSession
osid.assessment.AssessmentOfferedSmartBankSession
osid.assessment.AssessmentQuery
osid.assessment.AssessmentTakenQuery
osid.assessment.BankQuery
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.IdassessmentId an assessment Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentId is null
Compliancemandatory This method must be implemented.
MethodclearAssessmentIdTerms
Description

Clears all assessment Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssessmentQuery
Description

Tests if an AssessmentQuery is available.

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

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

Returnosid.assessment.AssessmentQuery the assessment query
ErrorsUNIMPLEMENTED supportsAssessmentQuery() is false
Complianceoptional This method must be implemented if supportsAssessmentQuery() is true.
MethodclearAssessmentTerms
Description

Clears all assessment terms.

Compliancemandatory This method must be implemented.
MethodmatchLevelId
Description

Sets the level 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.
MethodclearLevelIdTerms
Description

Clears all level Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsLevelQuery
Description

Tests if a GradeQuery is available.

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

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

Returnosid.grading.GradeQuery the grade query
ErrorsUNIMPLEMENTED supportsLevelQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearLevelTerms
Description

Clears all level terms.

Compliancemandatory This method must be implemented.
MethodmatchItemsSequential
Description

Match sequential assessments.

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

Clears all sequential terms.

Compliancemandatory This method must be implemented.
MethodmatchItemsShuffled
Description

Match shuffled item assessments.

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

Clears all shuffled terms.

Compliancemandatory This method must be implemented.
MethodmatchStartTime
Description

Matches assessments whose start time falls between the specified range 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.
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
Compliancemandatory This method must be implemented.
MethodclearStartTimeTerms
Description

Clears all scheduled terms.

Compliancemandatory This method must be implemented.
MethodmatchDeadline
Description

Matches assessments whose end time falls between the specified range 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
NULL_ARGUMENT start or end is null
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodclearDeadlineTerms
Description

Clears all deadline terms.

Compliancemandatory This method must be implemented.
MethodmatchDuration
Description

Matches assessments whose duration falls between the specified range inclusive.

Parametersosid.calendaring.Durationlow start range of duration
osid.calendaring.Durationhigh end 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
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodclearDurationTerms
Description

Clears all duration terms.

Compliancemandatory This method must be implemented.
MethodmatchScoreSystemId
Description

Sets the grade system Id for this query.

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

Clears all grade system Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsScoreSystemQuery
Description

Tests if a GradeSystemQuery is available.

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

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

Returnosid.grading.GradeSystemQuery the grade system query
ErrorsUNIMPLEMENTED supportsScoreSystemQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearScoreSystemTerms
Description

Clears all grade system terms.

Compliancemandatory This method must be implemented.
MethodmatchGradeSystemId
Description

Sets the grade system Id for this query.

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

Clears all grade system Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradeSystemQuery
Description

Tests if a GradeSystemQuery is available.

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

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

Returnosid.grading.GradeSystemQuery the grade system query
ErrorsUNIMPLEMENTED supportsScoreSystemQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearGradeSystemTerms
Description

Clears all grade system terms.

Compliancemandatory This method must be implemented.
MethodmatchRubricId
Description

Sets the rubric assessment offered Id for this query.

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

Clears all rubric assessment offered Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsRubricQuery
Description

Tests if an AssessmentOfferedQuery is available.

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

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

Returnosid.assessment.AssessmentOfferedQuery the assessment offered query
ErrorsUNIMPLEMENTED supportsRubricQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearRubricTerms
Description

Clears all rubric assessment terms.

Compliancemandatory This method must be implemented.
MethodmatchAssessmentTakenId
Description

Sets the assessment taken Id for this query.

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

Clears all assessment taken Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssessmentTakenQuery
Description

Tests if an AssessmentTakenQuery is available.

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

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

Returnosid.assessment.AssessmentTakenQuery the assessment taken query
ErrorsUNIMPLEMENTED supportsAssessmentTakenQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearAssessmentTakenTerms
Description

Clears all assessment taken terms.

Compliancemandatory This method must be implemented.
MethodmatchBankId
Description

Sets the bank Id for this query.

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

Clears all bank Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBankQuery
Description

Tests if a BankQuery is available.

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

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

Returnosid.assessment.BankQuery the bank query
ErrorsUNIMPLEMENTED supportsBankQuery() is false
Complianceoptional This method must be implemented if supportsBankQuery() is true.
MethodclearBankTerms
Description

Clears all bank terms.

Compliancemandatory This 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.TypeassessmentOfferedRecordType an assessment offered record type
Returnosid.assessment.records.AssessmentOfferedQueryRecord the assessment offered query record
ErrorsNULL_ARGUMENT assessmentOfferedRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentOfferedRecordType) is false
Compliancemandatory This method must be implemented.