OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.AssessmentTakenQuery
Implementsosid.OsidObjectQuery
Used Byosid.assessment.AssessmentOfferedQuery
osid.assessment.AssessmentQuery
osid.assessment.AssessmentTakenQuery
osid.assessment.AssessmentTakenQuerySession
osid.assessment.AssessmentTakenSearchSession
osid.assessment.AssessmentTakenSmartBankSession
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.

MethodmatchAssessmentOfferedId
Description

Sets the assessment offered Id for this query.

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

Clears all assessment offered Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAssessmentOfferedQuery
Description

Tests if an AssessmentOfferedQuery is available.

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

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

Returnosid.assessment.AssessmentOfferedQuery the assessment offered query
ErrorsUNIMPLEMENTED supportsAssessmentOfferedQuery() is false
Complianceoptional This method must be implemented if supportsAssessmentOfferedQuery() is true.
MethodclearAssessmentOfferedTerms
Description

Clears all assessment offered terms.

Compliancemandatory This method must be implemented.
MethodmatchTakerId
Description

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

Clears all resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsTakerQuery
Description

Tests if a ResourceQuery is available.

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

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

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

Clears all resource terms.

Compliancemandatory This method must be implemented.
MethodmatchTakingAgentId
Description

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

Clears all agent Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsTakingAgentQuery
Description

Tests if an AgentQuery is available.

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

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

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

Clears all taking agent terms.

Compliancemandatory This method must be implemented.
MethodmatchActualStartTime
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
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnyActualStartTime
Description

Matches taken assessments taken that have begun.

Parametersbooleanmatch true to match assessments taken started, false to match assessments taken that have not begun
Compliancemandatory This method must be implemented.
MethodclearActualStartTimeTerms
Description

Clears all start time terms.

Compliancemandatory This method must be implemented.
MethodmatchCompletionTime
Description

Matches assessments whose completion 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.
MethodmatchAnyCompletionTime
Description

Matches taken assessments taken that have completed.

Parametersbooleanmatch true to match assessments taken completed, false to match assessments taken that are incomplete
Compliancemandatory This method must be implemented.
MethodclearCompletionTimeTerms
Description

Clears all in completion time terms.

Compliancemandatory This method must be implemented.
MethodmatchTimeSpent
Description

Matches assessments where the time spent falls between the specified range inclusive.

Parametersosid.calendaring.Durationlow start of duration range
osid.calendaring.Durationhigh end of duration range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT high is less than low
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodclearTimeSpentTerms
Description

Clears all in time spent 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.
MethodmatchScore
Description

Matches assessments whose score falls between the specified range inclusive.

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

Matches taken assessments that have any score assigned.

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

Clears all score 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 all grade Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradeQuery
Description

Tests if a GradeQuery is available.

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 taken assessments that have any grade assigned.

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

Clears all grade terms.

Compliancemandatory This method must be implemented.
MethodmatchFeedback
Description

Sets the comment string for this query.

Parametersstringcomments comment string
osid.type.TypestringMatchType the string match type
booleanmatch true for a positive match, false for negative match
ErrorsINVALID_ARGUMENT comments is not of stringMatchType
NULL_ARGUMENT comments or stringMatchType is null
UNSUPPORTED supportsStringMatchType(stringMatchType) is false
Compliancemandatory This method must be implemented.
MethodmatchAnyFeedback
Description

Matches taken assessments that have any comments.

Parametersbooleanmatch true to match assessments with any comments, false to match assessments with no comments
Compliancemandatory This method must be implemented.
MethodclearFeedbackTerms
Description

Clears all comment terms.

Compliancemandatory This method must be implemented.
MethodmatchRubricId
Description

Sets the rubric 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.
MethodclearRubricIdTerms
Description

Clears all rubric assessment taken Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsRubricQuery
Description

Tests if an AssessmentTakenQuery is available.

Returnboolean true if a rubric assessment taken 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.AssessmentTakenQuery the assessment taken query
ErrorsUNIMPLEMENTED supportsRubricQuery() is false
Complianceoptional This method must be implemented if supportsRubricQuery() is true.
MethodmatchAnyRubric
Description

Matches an assessment taken that has any rubric assessment assigned.

Parametersbooleanmatch true to match assessments taken with any rubric, false to match assessments taken with no rubric
Compliancemandatory This method must be implemented.
MethodclearRubricTerms
Description

Clears all rubric 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.
MethodgetAssessmentTakenQueryRecord
Description

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

Parametersosid.type.TypeassessmentTakenRecordType an assessment taken record type
Returnosid.assessment.records.AssessmentTakenQueryRecord the assessment taken query record
ErrorsNULL_ARGUMENT assessmentTakenRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentTakenRecordType) is false
Compliancemandatory This method must be implemented.