Interface | osid.recognition.AwardQuery | ||
---|---|---|---|
Implements | osid.OsidObjectQuery | ||
Description |
This is the query for searching for awards. Each method
specifies an | ||
Method | matchConferralId | ||
Description |
Sets the conferral | ||
Parameters | osid.id.Id | conferralId | a conferral Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | conferralId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearConferralIdTerms | ||
Description |
Clears the conferral | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsConferralQuery | ||
Description |
Tests if a conferral query is available. | ||
Return | boolean | true if a conferral query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getConferralQuery | ||
Description |
Gets the query for an award. | ||
Return | osid.recognition.ConferralQuery | the conferral query | |
Errors | UNIMPLEMENTED | supportsConferralQuery() is false | |
Compliance | optional | This method must be implemented if supportsConferralQuery()
is true. | |
Method | matchAnyConferral | ||
Description |
Matches awards with any conferral. | ||
Parameters | boolean | match | true to match awards with any conferral, false
to match awards with no conferrals |
Compliance | mandatory | This method must be implemented. | |
Method | clearConferralTerms | ||
Description |
Clears the conferral terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchAcademyId | ||
Description |
Sets the award | ||
Parameters | osid.id.Id | academyId | an academy Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | academyId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearAcademyIdTerms | ||
Description |
Clears the academy | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsAcademyQuery | ||
Description |
Tests if an | ||
Return | boolean | true if an academy query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getAcademyQuery | ||
Description |
Gets the query for an academy query. Multiple
retrievals produce a nested | ||
Return | osid.recognition.AcademyQuery | the academy query | |
Errors | UNIMPLEMENTED | supportsAcademyQuery() is false | |
Compliance | optional | This method must be implemented if supportsAcademyQuery() is
true. | |
Method | clearAcademyTerms | ||
Description |
Clears the academy terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAwardQueryRecord | ||
Description |
Gets the award query record corresponding to the given
| ||
Parameters | osid.type.Type | awardRecordType | an award record type |
Return | osid.recognition.records.AwardQueryRecord | the award query record | |
Errors | NULL_ARGUMENT | awardRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(awardRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |