Interface DispatchSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing dispatch searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetDispatchSearchRecord(Type dispatchSearchRecordType) Gets the dis[atch search record corresponding to the given dispatch search recordType.voidorderDispatchResults(DispatchSearchOrder dispatchSearchOrder) Specify an ordering to the search results.voidsearchAmongDispatches(IdList dispatchIds) Execute this search among the given list of dispatches.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
-
searchAmongDispatches
Execute this search among the given list of dispatches.- Parameters:
dispatchIds- list of dispatches- Throws:
NullArgumentException-dispatchIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderDispatchResults
Specify an ordering to the search results.- Parameters:
dispatchSearchOrder- dispatch search order- Throws:
NullArgumentException-dispatchSearchOrderisnullUnsupportedException-dispatchSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getDispatchSearchRecord
DispatchSearchRecord getDispatchSearchRecord(Type dispatchSearchRecordType) throws OperationFailedException Gets the dis[atch search record corresponding to the given dispatch search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
dispatchSearchRecordType- a dispatch search record type- Returns:
- the dispatch search record
- Throws:
NullArgumentException-dispatchSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(dispatchSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-