Interface | osid.metering.UtilitySearchSession | ||
---|---|---|---|
Implements | osid.metering.UtilityQuerySession | ||
Description |
This session provides methods for searching Utilities may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
Method | getUtilitySearch | ||
Description |
Gets a utility search. | ||
Return | osid.metering.UtilitySearch | the utility search | |
Compliance | mandatory | This method must be implemented. | |
Method | getUtilitySearchOrder | ||
Description |
Gets a utility search order. The | ||
Return | osid.metering.UtilitySearchOrder | the utility search order | |
Compliance | mandatory | This method must be implemented. | |
Method | getUtilitiesBySearch | ||
Description |
Gets the search results matching the given search. | ||
Parameters | osid.metering.UtilityQuery | utilityQuery | the utility query |
osid.metering.UtilitySearch | utilitySearch | the utility search | |
Return | osid.metering.UtilitySearchResults | the utility search results | |
Errors | NULL_ARGUMENT | utilityQuery or utilitySearch is null
| |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | utilityQuery or utilitySearch is not of this
service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getUtilityQueryFromInspector | ||
Description |
Gets a utility query from an inspector. The inspector
is available from a | ||
Parameters | osid.metering.UtilityQueryInspector | utilityQueryInspector | a utility query inspector |
Return | osid.metering.UtilityQuery | the utility query | |
Errors | NULL_ARGUMENT | utilityQueryInspector is null | |
UNSUPPORTED | utilityQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |