OSID Logo
OSID Specifications
course registration package
Version 3.0.0
Interfaceosid.course.registration.CourseRegistrationQuery
Implementsosid.OsidRelationshipQuery
osid.OsidSubjugateableQuery
Used Byosid.course.registration.ActivityRegistrationQuery
osid.course.registration.CourseRegistrationQuerySession
osid.course.registration.CourseRegistrationSearchSession
osid.course.registration.CourseRegistrationSmartCourseCatalogSession
osid.course.registration.RegistrationQuery
Description

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

MethodmatchCourseOfferingId
Description

Sets the course offering Id for this query.

Parametersosid.id.IdcourseOfferingIda course offering Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTcourseOfferingId is null
CompliancemandatoryThis method must be implemented.
MethodclearCourseOfferingIdTerms
Description

Clears the course offering Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCourseOfferingQuery
Description

Tests if a CourseOffering is available.

Returnbooleantrue if a course offering query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCourseOfferingQuery
Description

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

Returnosid.course.CourseOfferingQuerythe course offering query
ErrorsUNIMPLEMENTEDsupportsCourseOfferingQuery() is false
ComplianceoptionalThis method must be implemented if supportsCourseOfferingQuery() is true .
MethodclearCourseOfferingTerms
Description

Clears the course offering terms.

CompliancemandatoryThis method must be implemented.
MethodmatchStudentId
Description

Sets the student resource Id for this query.

Parametersosid.id.IdresourceIda resource Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearStudentIdTerms
Description

Clears the student resource Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsStudentQuery
Description

Tests if a ResourceQuery is available.

Returnbooleantrue if a resource query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetStudentQuery
Description

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

Returnosid.resource.ResourceQuerythe resource query
ErrorsUNIMPLEMENTEDsupportsStudentQuery() is false
ComplianceoptionalThis method must be implemented if supportsStudentQuery() is true .
MethodclearStudentTerms
Description

Clears the student resource terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCourseCatalogId
Description

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

Parametersosid.id.IdcourseCatalogIdthe course catalog Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTcourseCatalogId is null
CompliancemandatoryThis method must be implemented.
MethodclearCourseCatalogIdTerms
Description

Clears the course catalog Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCourseCatalogQuery
Description

Tests if a CourseCatalogQuery is available.

Returnbooleantrue if a course catalog query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCourseCatalogQuery
Description

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

Returnosid.course.CourseCatalogQuerythe course catalog query
ErrorsUNIMPLEMENTEDsupportsCourseCatalogQuery() is false
ComplianceoptionalThis method must be implemented if supportsCourseCatalogQuery() is true .
MethodclearCourseCatalogTerms
Description

Clears the course catalog query terms.

CompliancemandatoryThis method must be implemented.
MethodgetCourseRegistrationQueryRecord
Description

Gets the course registration query record corresponding to the given CourseRegistration record Type . Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypecourseRegistrationRecordTypea course registration record type
Returnosid.course.registration.records.CourseRegistrationQueryRecordthe course registration query record
ErrorsNULL_ARGUMENTcourseRegistrationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(courseRegistrationRecordType) is false
CompliancemandatoryThis method must be implemented.