Interface ResponseSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing response searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetResponseSearchRecord(Type responseSearchRecordType) Gets the response search record corresponding to the given response search recordType.voidorderResponseResults(ResponseSearchOrder responseSearchOrder) Specify an ordering to the search results.voidsearchAmongResponses(IdList responseIds) Execute this search among the given list of responses.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
-
searchAmongResponses
Execute this search among the given list of responses.- Parameters:
responseIds- list of responses- Throws:
NullArgumentException-responseIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderResponseResults
Specify an ordering to the search results.- Parameters:
responseSearchOrder- response search order- Throws:
NullArgumentException-responseSearchOrderisnullUnsupportedException-responseSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getResponseSearchRecord
ResponseSearchRecord getResponseSearchRecord(Type responseSearchRecordType) throws OperationFailedException Gets the response search record corresponding to the given response search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
responseSearchRecordType- a response search record type- Returns:
- the response search interface
- Throws:
NullArgumentException-responseSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(responseSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-