OSID Logo
OSID Specifications
course registration package
Version 3.0.0
Interfaceosid.course.registration.RegistrationTargetQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Used Byosid.course.registration.RegistrationQuery
osid.course.registration.RegistrationTargetQuerySession
osid.course.registration.RegistrationTargetSearchSession
osid.course.registration.RegistrationTargetSmartCourseCatalogSession
osid.course.registration.request.RegistrationRequestItemQuery
Description

This is the query for searching registration targets. 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 CourseOfferingQuery 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.CourseOfferingQuerya 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.
MethodmatchActivityId
Description

Sets the activity Id for this query to match registration targets that have a related course.

Parametersosid.id.IdactivityIdan activity Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTactivityId is null
CompliancemandatoryThis method must be implemented.
MethodclearActivityIdTerms
Description

Clears the activity Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsActivityQuery
Description

Tests if an ActivityQuery is available.

Returnbooleantrue if an activity query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetActivityQuery
Description

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

Returnosid.course.ActivityQuerythe activity query
ErrorsUNIMPLEMENTEDsupportsActivityQuery() is false
ComplianceoptionalThis method must be implemented if supportsActivityQuery() is true .
MethodmatchAnyActivity
Description

Matches registration targets that have any activity.

Parametersbooleanmatchtrue to match registration targets with any activity, false to match registration targets with no activities
CompliancemandatoryThis method must be implemented.
MethodclearActivityTerms
Description

Clears the activity terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCredits
Description

Matches registration targets with credits between the given numbers inclusive.

Parametersdecimalminlow number
decimalmaxhigh number
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTmax is less than min
CompliancemandatoryThis method must be implemented.
MethodmatchAnyCredits
Description

Matches a registration target that has any credits assigned.

Parametersbooleanmatchtrue to match registration targets with any credits, false to match registration targets with no credits
CompliancemandatoryThis method must be implemented.
MethodclearCreditsTerms
Description

Clears the credit terms.

CompliancemandatoryThis method must be implemented.
MethodmatchGradingOptionId
Description

Sets the grade system Id for this query.

Parametersosid.id.IdgradeSystemIda grade system Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTgradeSystemId is null
CompliancemandatoryThis method must be implemented.
MethodclearGradingOptionIdTerms
Description

Clears the grade system Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsGradingOptionQuery
Description

Tests if a GradeSystemQuery is available.

Returnbooleantrue if a grade system query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradingOptionQuery
Description

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

Returnosid.grading.GradeSystemQuerya grade system query
ErrorsUNIMPLEMENTEDsupportsGradingOptionQuery() is false
ComplianceoptionalThis method must be implemented if supportsGradingOptionQuery() is true .
MethodmatchAnyGradingOption
Description

Matches registration targets that have any grading option.

Parametersbooleanmatchtrue to match registration targets with any grading option, false to match registration targets with no grading options
CompliancemandatoryThis method must be implemented.
MethodclearGradingOptionTerms
Description

Clears the grading option terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCourseCatalogId
Description

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

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

Parametersosid.type.TyperegistrationTargetRecordTypea registration target record type
Returnosid.course.registration.records.RegistrationTargetQueryRecordthe registration target query record
ErrorsNULL_ARGUMENTregistrationTargetRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(registrationTargetRecordType) is false
CompliancemandatoryThis method must be implemented.