Interface MeterSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing meter searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetMeterSearchRecord(Type meterSearchRecordType) Gets the meter search record corresponding to the given meter search recordType.voidorderMeterResults(MeterSearchOrder meterSearchOrder) Specify an ordering to the search results.voidsearchAmongMeters(IdList meterIds) Execute this search among the given list of meters.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
-
searchAmongMeters
Execute this search among the given list of meters.- Parameters:
meterIds- list of meterIds- Throws:
NullArgumentException-meterIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderMeterResults
Specify an ordering to the search results.- Parameters:
meterSearchOrder- meter search order- Throws:
NullArgumentException-meterSearchOrderisnullUnsupportedException-meterSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getMeterSearchRecord
Gets the meter search record corresponding to the given meter search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
meterSearchRecordType- a meter search record type- Returns:
- the meter search record
- Throws:
NullArgumentException-meterSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordTypeType(meterSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-