| Interface | osid.course.registration.ActivityRegistrationQuery | ||
|---|---|---|---|
| Implements | osid.OsidRelationshipQuery | ||
| Description | 
                 This is the query for searching activity registrations. 
                Each method match specifies an   | ||
| Method | matchRegistrationId | ||
| Description | 
                     Sets the registration   | ||
| Parameters | osid.id.Id | registrationId | a registration  Id   | 
boolean | match |  true  if a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  registrationId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearRegistrationIdTerms | ||
| Description | 
                     Clears the registration   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsRegistrationQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a registration query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRegistrationQuery | ||
| Description | 
                     Gets the query for a registration. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.course.registration.RegistrationQuery | the registration query | |
| Errors | UNIMPLEMENTED |  supportsRegistrationQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsRegistrationQuery() 
 is  true.   | |
| Method | clearRegistrationTerms | ||
| Description | 
                     Clears the registration terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchActivityId | ||
| Description | 
                     Sets the activity   | ||
| Parameters | osid.id.Id | activityId | an activity  Id   | 
boolean | match |  true  if a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  activityId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearActivityIdTerms | ||
| Description | 
                     Clears the activity   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsActivityQuery | ||
| Description | 
                     Tests if an   | ||
| Return | boolean |  true  if an activity query is available,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityQuery | ||
| Description | 
                     Gets the query for an activity. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.course.ActivityQuery | the activity query | |
| Errors | UNIMPLEMENTED |  supportsActivityQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsActivityQuery()  
is  true.   | |
| Method | clearActivityTerms | ||
| Description | 
                     Clears the activity 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 | 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 | getActivityRegistrationQueryRecord | ||
| Description | 
                     Gets the activity registration query record 
                    corresponding to the given   | ||
| Parameters | osid.type.Type | activityRegistrationRecordType | an activity registration record type | 
| Return | osid.course.registration.records.ActivityRegistrationQueryRecord | the activity registration query record | |
| Errors | NULL_ARGUMENT |  activityRegistrationRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(activityRegistrationRecordType)  is  
false   |                 ||
| Compliance | mandatory | This method must be implemented. | |