| Interface | osid.course.program.EnrollmentQuery | ||
|---|---|---|---|
| Implements | osid.OsidRelationshipQuery | ||
| Description | 
                 This is the query for searching enrollments. Each method 
                match specifies an   | ||
| Method | matchProgramOfferingId | ||
| Description | 
                     Sets the program offering   | ||
| Parameters | osid.id.Id | programOfferingId | a program offering  Id   | 
boolean | match |  true  if a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  programOfferingId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearProgramOfferingIdTerms | ||
| Description | 
                     Clears the program offering   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsProgramOfferingQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a program offering query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProgramOfferingQuery | ||
| Description | 
                     Gets the query for a program offering. Multiple 
                    retrievals produce a nested   | ||
| Return | osid.course.program.ProgramOfferingQuery | the program offering query | |
| Errors | UNIMPLEMENTED |  supportsProgramOfferingQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsProgramOfferingQuery() 
 is  true.   | |
| Method | clearProgramOfferingTerms | ||
| Description | 
                     Clears the program offering 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 | getEnrollmentQueryRecord | ||
| Description | 
                     Gets the enrollment query record corresponding to the 
                    given   | ||
| Parameters | osid.type.Type | enrollmentRecordType | an enrollment record type | 
| Return | osid.course.program.records.EnrollmentQueryRecord | the enrollment query record | |
| Errors | NULL_ARGUMENT |  enrollmentRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(enrollmentRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |