Interface AwardSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing award searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetAwardSearchRecord(Type awardSearchRecordType) Gets the award search record corresponding to the given award search recordType.voidorderAwardResults(AwardSearchOrder awardSearchOrder) Specify an ordering to the search results.voidsearchAmongAwards(IdList awardIds) Execute this search among the given list of awards.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongAwards
Execute this search among the given list of awards.- Parameters:
awardIds- list of awards- Throws:
NullArgumentException-awardIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAwardResults
Specify an ordering to the search results.- Parameters:
awardSearchOrder- award search order- Throws:
NullArgumentException-awardSearchOrderisnullUnsupportedException-awardSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAwardSearchRecord
Gets the award search record corresponding to the given award search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
awardSearchRecordType- an award search record type- Returns:
- the award search record
- Throws:
NullArgumentException-awardSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(awardSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-