| Interface | osid.course.registration.RegistrationQuery | ||
|---|---|---|---|
| Implements | osid.OsidRelationshipQuery | ||
| Description | 
                 This is the query for searching registrations. Each method 
                match specifies an   | ||
| Method | matchActivityBundleId | ||
| Description | 
                     Sets the activity bundle   | ||
| Parameters | osid.id.Id | activityBundleId | an activity bundle  Id   | 
boolean | match |  true  if a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  activityBundleId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearActivityBundleIdTerms | ||
| Description | 
                     Clears the activity bundle   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsActivityBundleQuery | ||
| Description | 
                     Tests if an   | ||
| Return | boolean |  true  if an activity bundle query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityBundleQuery | ||
| Description | 
                     Gets the query for an activity bundle. Multiple 
                    retrievals produce a nested   | ||
| Return | osid.course.registration.ActivityBundleQuery | the activity bundle query | |
| Errors | UNIMPLEMENTED |  supportsActivityBundleQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsActivityBundleQuery() 
 is  true.   | |
| Method | clearActivityBundleTerms | ||
| Description | 
                     Clears the activity bundle terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchStudentId | ||
| Description | 
                     Sets the student resource   | ||
| Parameters | osid.id.Id | resourceId | a resource  Id   | 
boolean | match |  true  if a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  resourceId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearStudentIdTerms | ||
| Description | 
                     Clears the student resource   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsStudentQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a resource query is available,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStudentQuery | ||
| Description | 
                     Gets the query for a student. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.resource.ResourceQuery | the resource query | |
| Errors | UNIMPLEMENTED |  supportsStudentQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsStudentQuery()  is 
 true.   | |
| Method | clearStudentTerms | ||
| Description | 
                     Clears the student resource terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchCredits | ||
| Description | 
                     Matches registrations with credits between the given numbers inclusive.  | ||
| Parameters | decimal | min | low number | 
decimal | max | high number | |
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | INVALID_ARGUMENT |  max  is less than  min   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAnyCredits | ||
| Description | 
                     Matches a registration that has any credits assigned.  | ||
| Parameters | boolean | match |  true  to match registrations with any credits,  false 
 to match registrations with no credits  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCreditsTerms | ||
| Description | 
                     Clears the credit terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchGradingOptionId | ||
| Description | 
                     Sets the grade system   | ||
| Parameters | osid.id.Id | gradeSystemId | a grade system  Id   | 
boolean | match |  true  if a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  gradeSystemId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearGradingOptionIdTerms | ||
| Description | 
                     Clears the grade system   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsGradingOptionQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a grade system query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getGradingOptionQuery | ||
| Description | 
                     Gets the query for a grading option. Multiple 
                    retrievals produce a nested   | ||
| Return | osid.grading.GradeSystemQuery | a grade system query | |
| Errors | UNIMPLEMENTED |  supportsGradingOptionQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsGradingOptionQuery() 
 is  true.   | |
| Method | matchAnyGradingOption | ||
| Description | 
                     Matches registrations that have any grading option.  | ||
| Parameters | boolean | match |  true  to match registrations with any grading option,  
false  to match registrations with no grading options  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearGradingOptionTerms | ||
| Description | 
                     Clears the grading option terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchCourseCatalogId | ||
| Description | 
                     Sets the course catalog   | ||
| Parameters | osid.id.Id | courseCatalogId | the course catalog  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  courseCatalogId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCourseCatalogIdTerms | ||
| Description | 
                     Clears the course catalog   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsCourseCatalogQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a course catalog query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseCatalogQuery | ||
| Description | 
                     Gets the query for a course catalog. Multiple 
                    retrievals produce a nested   | ||
| Return | osid.course.CourseCatalogQuery | the course catalog query | |
| Errors | UNIMPLEMENTED |  supportsCourseCatalogQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsCourseCatalogQuery() 
 is  true.   | |
| Method | clearCourseCatalogTerms | ||
| Description | 
                     Clears the course catalog terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationQueryRecord | ||
| Description | 
                     Gets the registration query record corresponding to the 
                    given   | ||
| Parameters | osid.type.Type | registrationRecordType | a registration record type | 
| Return | osid.course.registration.records.RegistrationQueryRecord | the registration query record | |
| Errors | NULL_ARGUMENT |  registrationRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(registrationRecordType)  is  false 
  |                 ||
| Compliance | mandatory | This method must be implemented. | |