Interface RequestSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing request searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetRequestSearchRecord(Type requestSearchRecordType) Gets the request search record corresponding to the given request search recordType.voidorderRequestResults(RequestSearchOrder requestSearchOrder) Specify an ordering to the search results.voidsearchAmongRequests(IdList requestIds) Execute this search among the given list of requests.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
-
searchAmongRequests
Execute this search among the given list of requests.- Parameters:
requestIds- list of requests- Throws:
NullArgumentException-requestIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRequestResults
Specify an ordering to the search results.- Parameters:
requestSearchOrder- request search order- Throws:
NullArgumentException-requestSearchOrderisnullUnsupportedException-requestSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRequestSearchRecord
RequestSearchRecord getRequestSearchRecord(Type requestSearchRecordType) throws OperationFailedException Gets the request search record corresponding to the given request search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
requestSearchRecordType- a request search record type- Returns:
- the request search record
- Throws:
NullArgumentException-requestSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(requestSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-