Interface UtilitySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing utility searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetUtilitySearchRecord(Type utilitySearchRecordType) Gets the utility search record corresponding to the given utility search recordType.voidorderUtilityResults(UtilitySearchOrder utilitySearchOrder) Specify an ordering to the search results.voidsearchAmongUtilities(IdList utilityIds) Execute this search among the given list of utilities.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface OsidSearch
limitResultSet
-
Method Details
-
searchAmongUtilities
Execute this search among the given list of utilities.- Parameters:
utilityIds- list of utilities- Throws:
NullArgumentException-utilityIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderUtilityResults
Specify an ordering to the search results.- Parameters:
utilitySearchOrder- utility search order- Throws:
NullArgumentException-utilitySearchOrderisnullUnsupportedException-utilitySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getUtilitySearchRecord
UtilitySearchRecord getUtilitySearchRecord(Type utilitySearchRecordType) throws OperationFailedException Gets the utility search record corresponding to the given utility search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
utilitySearchRecordType- a utility search record type- Returns:
- the utility search record
- Throws:
NullArgumentException-utilitySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(utilitySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-