OSID Logo
OSID Specifications
course registration package
Version 3.1.0
Interfaceosid.course.registration.RegistrationQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.course.chronicle.CourseEntryQuery
osid.course.registration.RegistrationQuerySession
osid.course.registration.RegistrationSearchSession
osid.course.registration.RegistrationSmartCourseCatalogSession
osid.course.registration.request.RegistrationRequestItemQuery
Description

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

MethodmatchCourseRegistrationId
Description

Sets the course registration Id for this query.

Parametersosid.id.IdcourseRegistrationId a course registration Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT courseRegistrationId is null
Compliancemandatory This method must be implemented.
MethodclearCourseRegistrationIdTerms
Description

Clears the course registration Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCourseRegistrationQuery
Description

Tests if a CourseRegistrationQuery is available.

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

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

Returnosid.course.registration.CourseRegistrationQuery the course registration query
ErrorsUNIMPLEMENTED supportsCourseRegistrationQuery() is false
Complianceoptional This method must be implemented if supportsCourseRegistrationQuery() is true.
MethodclearCourseRegistrationTerms
Description

Clears the course registration terms.

Compliancemandatory This method must be implemented.
MethodmatchRegistrationTargetId
Description

Sets the registration target Id for this query.

Parametersosid.id.IdregistrationTargetId a registration target Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT registrationTargetId is null
Compliancemandatory This method must be implemented.
MethodclearRegistrationTargetIdTerms
Description

Clears the registration target Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsRegistrationTargetQuery
Description

Tests if a RegistrationTargetQuery is available.

Returnboolean true if a registration target query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRegistrationTargetQuery
Description

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

Returnosid.course.registration.RegistrationTargetQuery the registration target query
ErrorsUNIMPLEMENTED supportsRegistrationTargetQuery() is false
Complianceoptional This method must be implemented if supportsRegistrationTargetQuery() is true.
MethodclearRegistrationTargetTerms
Description

Clears the registration target 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.
MethodmatchCredits
Description

Matches registrations with credits between the given numbers inclusive.

Parametersdecimalmin low number
decimalmax high number
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT max is less than min
Compliancemandatory This method must be implemented.
MethodmatchAnyCredits
Description

Matches a registration that has any credits assigned.

Parametersbooleanmatch true to match registrations with any credits, false to match registrations with no credits
Compliancemandatory This method must be implemented.
MethodclearCreditsTerms
Description

Clears the credit terms.

Compliancemandatory This method must be implemented.
MethodmatchGradingOptionId
Description

Sets the grade system Id for this query.

Parametersosid.id.IdgradeSystemId a grade system Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeSystemId is null
Compliancemandatory This method must be implemented.
MethodclearGradingOptionIdTerms
Description

Clears the grade system Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradingOptionQuery
Description

Tests if a GradeSystemQuery is available.

Returnboolean true if a grade system query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradingOptionQuery
Description

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

Returnosid.grading.GradeSystemQuery a grade system query
ErrorsUNIMPLEMENTED supportsGradingOptionQuery() is false
Complianceoptional This method must be implemented if supportsGradingOptionQuery() is true.
MethodmatchAnyGradingOption
Description

Matches registrations that have any grading option.

Parametersbooleanmatch true to match registrations with any grading option, false to match registrations with no grading options
Compliancemandatory This method must be implemented.
MethodclearGradingOptionTerms
Description

Clears the grading option terms.

Compliancemandatory This method must be implemented.
MethodmatchCourseCatalogId
Description

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

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

Parametersosid.type.TyperegistrationRecordType a registration record type
Returnosid.course.registration.records.RegistrationQueryRecord the registration query record
ErrorsNULL_ARGUMENT registrationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(registrationRecordType) is false
Compliancemandatory This method must be implemented.