OSID Logo
OSID Specifications
course registration package
Version 3.1.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.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 CourseOfferingQuery 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 a 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.
MethodmatchActivityId
Description

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

Parametersosid.id.IdactivityId an activity Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT activityId is null
Compliancemandatory This method must be implemented.
MethodclearActivityIdTerms
Description

Clears the activity Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsActivityQuery
Description

Tests if an ActivityQuery is available.

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

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

Returnosid.course.ActivityQuery the activity query
ErrorsUNIMPLEMENTED supportsActivityQuery() is false
Complianceoptional This method must be implemented if supportsActivityQuery() is true.
MethodmatchAnyActivity
Description

Matches registration targets that have any activity.

Parametersbooleanmatch true to match registration targets with any activity, false to match registration targets with no activities
Compliancemandatory This method must be implemented.
MethodclearActivityTerms
Description

Clears the activity terms.

Compliancemandatory This method must be implemented.
MethodmatchCredits
Description

Matches registration targets 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 target that has any credits assigned.

Parametersbooleanmatch true to match registration targets with any credits, false to match registration targets 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 registration targets that have any grading option.

Parametersbooleanmatch true to match registration targets with any grading option, false to match registration targets 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 registration targets 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.
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.TyperegistrationTargetRecordType a registration target record type
Returnosid.course.registration.records.RegistrationTargetQueryRecord the registration target query record
ErrorsNULL_ARGUMENT registrationTargetRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(registrationTargetRecordType) is false
Compliancemandatory This method must be implemented.