| Interface | osid.metering.MeterSearchSession | ||
|---|---|---|---|
| Implements | osid.metering.MeterQuerySession | ||
| Description |
This session provides methods for searching among meters.
The search query is constructed using the This session defines views that offer differing behaviors for searching.
| ||
| Method | getMeterSearch | ||
| Description |
Gets a meter search. | ||
| Return | osid.metering.MeterSearch | the meter search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMeterSearchOrder | ||
| Description |
Gets a meter search order. The | ||
| Return | osid.metering.MeterSearchOrder | the meter search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMetersBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.metering.MeterQuery | meterQuery | the meter query |
osid.metering.MeterSearch | meterSearch | the meter search | |
| Return | osid.metering.MeterSearchResults | the returned search results | |
| Errors | NULL_ARGUMENT | meterQuery or meterSearch is null
| |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | meterQuery or meterSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getMeterQueryFromInspector | ||
| Description |
Gets a meter query from an inspector. The inspector is
available from a | ||
| Parameters | osid.metering.MeterQueryInspector | meterQueryInspector | a meter query inspector |
| Return | osid.metering.MeterQuery | the meter query | |
| Errors | NULL_ARGUMENT | meterQueryInspector is null | |
| UNSUPPORTED | meterQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |