OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentTakenQuery
Implementsosid.OsidObjectQuery
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.IdassessmentOfferedIdan assessment Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentOfferedId is null
CompliancemandatoryThis method must be implemented.
MethodclearAssessmentOfferedIdTerms
Description

Clears all assessment offered Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAssessmentOfferedQuery
Description

Tests if an AssessmentOfferedQuery is available.

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

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

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

Clears all assessment offered terms.

CompliancemandatoryThis method must be implemented.
MethodmatchTakerId
Description

Sets the resource Id for this query.

Parametersosid.id.IdresourceIda resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearTakerIdTerms
Description

Clears all resource Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsTakerQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuerythe resource query
ErrorsUNIMPLEMENTED supportsTakerQuery() is false
ComplianceoptionalThis method must be implemented if supportsTakerQuery() is true.
MethodclearTakerTerms
Description

Clears all resource terms.

CompliancemandatoryThis method must be implemented.
MethodmatchTakingAgentId
Description

Sets the agent Id for this query.

Parametersosid.id.IdagentIdan agent Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
CompliancemandatoryThis method must be implemented.
MethodclearTakingAgentIdTerms
Description

Clears all agent Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsTakingAgentQuery
Description

Tests if an AgentQuery is available.

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

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

Returnosid.authentication.AgentQuerythe agent query
ErrorsUNIMPLEMENTED supportsTakingAgentQuery() is false
ComplianceoptionalThis method must be implemented if supportsTakingAgentQuery() is true.
MethodclearTakingAgentTerms
Description

Clears all taking agent terms.

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

Clears all start time terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCompletionTime
Description

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

Matches taken assessments taken that have completed.

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

Clears all in completion time terms.

CompliancemandatoryThis method must be implemented.
MethodmatchTimeSpent
Description

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

Parametersosid.calendaring.Durationlowstart of duration range
osid.calendaring.Durationhighend 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
CompliancemandatoryThis method must be implemented.
MethodclearTimeSpentTerms
Description

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

Matches assessments whose score falls between the specified range inclusive.

Parametersdecimallowstart of range
decimalhighend of range
booleanmatch true for a positive match, false for negative match
ErrorsINVALID_ARGUMENT high is less than low
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearScoreTerms
Description

Clears all score terms.

CompliancemandatoryThis method must be implemented.
MethodmatchGradeId
Description

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

Clears all grade Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsGradeQuery
Description

Tests if a GradeQuery is available.

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

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

Returnosid.grading.GradeQuerythe grade query
ErrorsUNIMPLEMENTED supportsGradeQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearGradeTerms
Description

Clears all grade terms.

CompliancemandatoryThis method must be implemented.
MethodmatchFeedback
Description

Sets the comment string for this query.

Parametersstringcommentscomment string
osid.type.TypestringMatchTypethe 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
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearFeedbackTerms
Description

Clears all comment terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRubricId
Description

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

Clears all rubric assessment taken Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRubricQuery
Description

Tests if an AssessmentTakenQuery is available.

Returnboolean true if a rubric assessment taken 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.AssessmentTakenQuerythe assessment taken query
ErrorsUNIMPLEMENTED supportsRubricQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearRubricTerms
Description

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

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

Parametersosid.type.TypeassessmentTakenRecordTypean assessment taken record type
Returnosid.assessment.records.AssessmentTakenQueryRecordthe assessment taken query record
ErrorsNULL_ARGUMENT assessmentTakenRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentTakenRecordType) is false
CompliancemandatoryThis method must be implemented.