OSID Logo
OSID Specifications
course registration package
Version 3.1.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.IdcourseOfferingId a course offering Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT courseOfferingId is null
Compliancemandatory This method must be implemented.
MethodclearCourseOfferingIdTerms
Description

Clears the course offering Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCourseOfferingQuery
Description

Tests if a CourseOffering is available.

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

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

Returnosid.course.CourseOfferingQuery the course offering query
ErrorsUNIMPLEMENTED supportsCourseOfferingQuery() is false
Complianceoptional This method must be implemented if supportsCourseOfferingQuery() is true.
MethodclearCourseOfferingTerms
Description

Clears the course offering terms.

Compliancemandatory This method must be implemented.
MethodmatchStudentId
Description

Sets the student resource 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 resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsStudentQuery
Description

Tests if a ResourceQuery is available.

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

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

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

Clears the student resource terms.

Compliancemandatory This method must be implemented.
MethodmatchCourseCatalogId
Description

Sets the course catalog Id for this query to match course registrations 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 query 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 query terms.

Compliancemandatory This 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.TypecourseRegistrationRecordType a course registration record type
Returnosid.course.registration.records.CourseRegistrationQueryRecord the course registration query record
ErrorsNULL_ARGUMENT courseRegistrationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(courseRegistrationRecordType) is false
Compliancemandatory This method must be implemented.