OSID Logo
OSID Specifications
course chronicle package
Version 3.1.0
Interfaceosid.course.chronicle.AwardEntryQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.course.chronicle.AwardEntryQuerySession
osid.course.chronicle.AwardEntrySearchSession
osid.course.chronicle.AwardEntrySmartCourseCatalogSession
Description

This is the query for searching award entries. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchStudentId
Description

Sets the student Id for this query.

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

Clears the student Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsStudentQuery
Description

Tests if a StudentQuery is available.

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

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

Returnosid.resource.ResourceQuery a student query
ErrorsUNIMPLEMENTED supportsStudentQuery() is false
Complianceoptional This method must be implemented if supportsStudentQuery() is true.
MethodclearStudentTerms
Description

Clears the student option terms.

Compliancemandatory This method must be implemented.
MethodmatchAwardId
Description

Sets the award Id for this query to match entries that have an entry for the given course.

Parametersosid.id.IdawardId an award Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT awardId is null
Compliancemandatory This method must be implemented.
MethodclearAwardIdTerms
Description

Clears the award Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAwardQuery
Description

Tests if an AwardQuery is available.

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

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

Returnosid.recognition.AwardQuery an award query
ErrorsUNIMPLEMENTED supportsAwardQuery() is false
Complianceoptional This method must be implemented if supportsAwardQuery() is true.
MethodclearAwardTerms
Description

Clears the award terms.

Compliancemandatory This method must be implemented.
MethodmatchDateAwarded
Description

Matches award dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyDateAwarded
Description

Matches entries that have any award date.

Parametersbooleanmatch true to match entries with any award date, false to match entries with no award date
Compliancemandatory This method must be implemented.
MethodclearDateAwardedTerms
Description

Clears the award date terms.

Compliancemandatory This method must be implemented.
MethodmatchProgramId
Description

Sets the program Id for this query.

Parametersosid.id.IdprogramId a program Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT programId is null
Compliancemandatory This method must be implemented.
MethodclearProgramIdTerms
Description

Clears the program Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsProgramQuery
Description

Tests if a ProgramQuery is available.

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

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

Returnosid.course.program.ProgramQuery a program query
ErrorsUNIMPLEMENTED supportsProgramQuery() is false
Complianceoptional This method must be implemented if supportsProgramQuery() is true.
MethodmatchAnyProgram
Description

Matches entries that have any program.

Parametersbooleanmatch true to match entries with any program false to match entries with no program
Compliancemandatory This method must be implemented.
MethodclearProgramTerms
Description

Clears the program terms.

Compliancemandatory This method must be implemented.
MethodmatchCourseId
Description

Sets the course Id for this query to match entries that have an entry for the given course.

Parametersosid.id.IdcourseId a course Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT courseId is null
Compliancemandatory This method must be implemented.
MethodclearCourseIdTerms
Description

Clears the course Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCourseQuery
Description

Tests if a CourseQuery is available.

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

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

Returnosid.course.CourseQuery a course query
ErrorsUNIMPLEMENTED supportsCourseQuery() is false
Complianceoptional This method must be implemented if supportsCourseQuery() is true.
MethodmatchAnyCourse
Description

Matches entries that have any course.

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

Clears the course terms.

Compliancemandatory This method must be implemented.
MethodmatchAssessmentId
Description

Sets the assessment Id for this query to match entries that have an entry for the given assessment,

Parametersosid.id.IdassessmentId an assessment Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT assessmentId is null
Compliancemandatory This method must be implemented.
MethodclearAssessmentIdTerms
Description

Clears the 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 entry. Multiple retrievals produce a nested OR term.

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

Matches entries that have any assessment.

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

Clears the assessment terms.

Compliancemandatory This method must be implemented.
MethodmatchCourseCatalogId
Description

Sets the course catalog Id for this query to match entries assigned to course catalogs.

Parametersosid.id.IdcourseCatalogId the course catalog Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT courseCatalogId is null
Compliancemandatory This method must be implemented.
MethodclearCourseCatalogIdTerms
Description

Clears the course catalog Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCourseCatalogQuery
Description

Tests if a CourseCatalogQuery is available.

Returnboolean true if a course catalog query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCourseCatalogQuery
Description

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

Returnosid.course.CourseCatalogQuery the course catalog query
ErrorsUNIMPLEMENTED supportsCourseCatalogQuery() is false
Complianceoptional This method must be implemented if supportsCourseCatalogQuery() is true.
MethodclearCourseCatalogTerms
Description

Clears the course catalog terms.

Compliancemandatory This method must be implemented.
MethodgetAwardEntryQueryRecord
Description

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

Parametersosid.type.TypeawardEntryRecordType an award entry record type
Returnosid.course.chronicle.records.AwardEntryQueryRecord the award entry query record
ErrorsNULL_ARGUMENT awardEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(awardEntryRecordType) is false
Compliancemandatory This method must be implemented.