| Interface | osid.course.chronicle.CredentialEntryQuery | ||
|---|---|---|---|
| Implements | osid.OsidRelationshipQuery | ||
| Description |
This is the query for searching credential entries. Each
method match specifies an | ||
| Method | matchStudentId | ||
| Description |
Sets the student | ||
| 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 | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsStudentQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a student query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStudentQuery | ||
| Description |
Gets the query for a student option. Multiple
retrievals produce a nested | ||
| Return | osid.resource.ResourceQuery | a student query | |
| Errors | UNIMPLEMENTED | supportsStudentQuery() is false | |
| Compliance | optional | This method must be implemented if supportsStudentQuery() is
true. | |
| Method | clearStudentTerms | ||
| Description |
Clears the student option terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchCredentialId | ||
| Description |
Sets the credential | ||
| Parameters | osid.id.Id | credentialId | a credential Id |
boolean | match | true if a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | credentialId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCredentialIdTerms | ||
| Description |
Clears the credential | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsCredentialQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a credential query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCredentialQuery | ||
| Description |
Gets the query for a credential entry. Multiple
retrievals produce a nested | ||
| Return | osid.course.program.CredentialQuery | a credential query | |
| Errors | UNIMPLEMENTED | supportsCredentialQuery() is false | |
| Compliance | optional | This method must be implemented if supportsCredentialQuery()
is true. | |
| Method | clearCredentialTerms | ||
| Description |
Clears the credential terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchDateAwarded | ||
| Description |
Matches award dates between the given dates inclusive. | ||
| Parameters | osid.calendaring.DateTime | from | starting date |
osid.calendaring.DateTime | to | ending date | |
boolean | match | true if a positive match, false for a
negative match | |
| Errors | INVALID_ARGUMENT | from is greater than to | |
| NULL_ARGUMENT | from or to is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAnyDateAwarded | ||
| Description |
Matches entries that have any award date. | ||
| Parameters | boolean | match | true to match entries with any award date, false
to match entries with no award date |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearDateAwardedTerms | ||
| Description |
Clears the award date terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchProgramId | ||
| Description |
Sets the program | ||
| Parameters | osid.id.Id | programId | a program Id |
boolean | match | true if a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | programId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearProgramIdTerms | ||
| Description |
Clears the program | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsProgramQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a program query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProgramQuery | ||
| Description |
Gets the query for a program. Multiple retrievals
produce a nested | ||
| Return | osid.course.program.ProgramQuery | a program query | |
| Errors | UNIMPLEMENTED | supportsProgramQuery() is false | |
| Compliance | optional | This method must be implemented if supportsProgramQuery() is
true. | |
| Method | matchAnyProgram | ||
| Description |
Matches entries that have any program. | ||
| Parameters | boolean | match | true to match entries with any program false
to match entries with no program |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearProgramTerms | ||
| Description |
Clears the program 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 | getCredentialEntryQueryRecord | ||
| Description |
Gets the credential entry query record corresponding to
the given | ||
| Parameters | osid.type.Type | credentialEntryRecordType | a credential entry record type |
| Return | osid.course.chronicle.records.CredentialEntryQueryRecord | the credential entry query record | |
| Errors | NULL_ARGUMENT | credentialEntryRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(credentialEntryRecordType) is false
| ||
| Compliance | mandatory | This method must be implemented. | |