Interface ResultSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing result searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetResultSearchRecord(Type resultSearchRecordType) Gets the record corresponding to the given result search recordType.voidorderResultResults(ResultSearchOrder resultSearchOrder) Specify an ordering to the search results.voidsearchAmongResults(IdList resultIds) Execute this search among the given list of results.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
-
searchAmongResults
Execute this search among the given list of results.- Parameters:
resultIds- list of results- Throws:
NullArgumentException-resultIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderResultResults
Specify an ordering to the search results.- Parameters:
resultSearchOrder- result search order- Throws:
NullArgumentException-resultSearchOrderisnullUnsupportedException-resultSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getResultSearchRecord
ResultSearchRecord getResultSearchRecord(Type resultSearchRecordType) throws OperationFailedException Gets the record corresponding to the given result search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
resultSearchRecordType- a result search record type- Returns:
- the result search record
- Throws:
NullArgumentException-resultSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(resultSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-