Interface | osid.metering.MeteringManager | ||
---|---|---|---|
Implements | osid.OsidManager | ||
osid.metering.MeteringProfile | |||
Description |
The metering manager provides access to metering sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
The metering manager also provides a profile for determing the supported search types supported by this service. | ||
Method | getMeterReadingSession | ||
Description |
Gets the | ||
Return | osid.metering.MeterReadingSession | a MeterReadingSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeterReading() is false | ||
Compliance | optional | This method must be implemented if supportsMeterReading() is
true. | |
Method | getMeterReadingSessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.MeterReadingSession | a MeterReadingSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsMeterReading() or supportsVisibleFederation()
is false | ||
Compliance | optional | This method must be implemented if supportsMeterReading()
and supportsVisibleFederation() are true | |
Method | getStatisticLookupSession | ||
Description |
Gets the | ||
Return | osid.metering.StatisticLookupSession | a StatisticLookupSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsStatisticLookup() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticLookup()
is true. | |
Method | getStatisticLookupSessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.StatisticLookupSession | a StatisticLookupSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsStatisticLookup() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticLookup()
and supportsVisibleFederation() are true | |
Method | getStatisticQuerySession | ||
Description |
Gets the | ||
Return | osid.metering.StatisticQuerySession | a StatisticQuerySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsStatisticQuery() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticQuery()
is true. | |
Method | getStatisticQuerySessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.StatisticQuerySession | a StatisticQuerySession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsStatisticQuery() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticQuery()
and supportsVisibleFederation() are true | |
Method | getStatisticSearchSession | ||
Description |
Gets the | ||
Return | osid.metering.StatisticSearchSession | a StatisticSearchSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsStatisticSearch() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticSearch()
is true. | |
Method | getStatisticSearchSessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.StatisticSearchSession | a StatisticSearchSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsStatisticSearch() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticSearch()
and supportsVisibleFederation() are true | |
Method | getStatisticNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.metering.StatisticReceiver | statisticReceiver | the receiver |
Return | osid.metering.MeterNotificationSession | a StatisticNotificationSession | |
Errors | NULL_ARGUMENT | statisticReceiver is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsStatisticNotification() is false | ||
Compliance | optional | This method must be implemented if supportsMeterNotification()
is true. | |
Method | getStatisticNotificationSessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.metering.StatisticReceiver | statisticReceiver | the receiver |
osid.id.Id | utilityId | the Id of the Utility | |
Return | osid.metering.MeterNotificationSession | a StatisticNotificationSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | statisticReceiver or utilityId is null
| ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsStatisticNotification() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticNotification()
and supportsVisibleFederation() are true | |
Method | getStatisticSmartUtilitySession | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.StatisticSmartUtilitySession | a StatisticSmartUtilitySession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsStatisticSmartUtility() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticUtility()
and supportsVisibleFederation() are true | |
Method | getMeterLookupSession | ||
Description |
Gets the | ||
Return | osid.metering.MeterLookupSession | a MeterLookupSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeterLookup() is false | ||
Compliance | optional | This method must be implemented if supportsMeterLookup() is
true. | |
Method | getMeterLookupSessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.MeterLookupSession | a MeterLookupSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsMeterLookup() or supportsVisibleFederation()
is false | ||
Compliance | optional | This method must be implemented if supportsMeterLookup() and
supportsVisibleFederation() are true | |
Method | getMeterQuerySession | ||
Description |
Gets the | ||
Return | osid.metering.MeterQuerySession | a MeterQuerySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeterQuery() is false | ||
Compliance | optional | This method must be implemented if supportsMeterQuery() is
true. | |
Method | getMeterQuerySessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.MeterQuerySession | a MeterQuerySession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsMeterQuery() or supportsVisibleFederation()
is false | ||
Compliance | optional | This method must be implemented if supportsMeterQuery() and
supportsVisibleFederation() are true | |
Method | getMeterSearchSession | ||
Description |
Gets the | ||
Return | osid.metering.MeterSearchSession | a MeterSearchSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeterSearch() is false | ||
Compliance | optional | This method must be implemented if supportsMeterSearch() is
true. | |
Method | getMeterSearchSessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.MeterSearchSession | a MeterSearchSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsMeterSearch() or supportsVisibleFederation()
is false | ||
Compliance | optional | This method must be implemented if supportsMeterSearch() and
supportsVisibleFederation() are true | |
Method | getMeterAdminSession | ||
Description |
Gets the | ||
Return | osid.metering.MeterAdminSession | a MeterAdminSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeterAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsMeterAdmin() is
true. | |
Method | getMeterAdminSessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.MeterAdminSession | a MeterAdminSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsMeterAdmin() or supportsVisibleFederation()
is false | ||
Compliance | optional | This method must be implemented if supportsMeterAdmin() and
supportsVisibleFederation() are true | |
Method | getMeterNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.metering.MeterReceiver | meterReceiver | the receiver |
Return | osid.metering.MeterNotificationSession | a MeterNotificationSession | |
Errors | NULL_ARGUMENT | meterReceiver is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsMeterNotification() is false | ||
Compliance | optional | This method must be implemented if supportsMeterNotification()
is true. | |
Method | getMeterNotificationSessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.metering.MeterReceiver | meterReceiver | the receiver |
osid.id.Id | utilityId | the Id of the Utility | |
Return | osid.metering.MeterNotificationSession | a MeterNotificationSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | meterReceiver or utilityId is null
| ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsMeterNotification() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsMeterNotification()
and supportsVisibleFederation() are true | |
Method | getMeterUtilitySession | ||
Description |
Gets the | ||
Return | osid.metering.MeterUtilitySession | a MeterUtilitySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeterUtility() is false | ||
Compliance | optional | This method must be implemented if supportsMeterUtility() is
true. | |
Method | getMeterUtilityAssignmentSession | ||
Description |
Gets the | ||
Return | osid.metering.MeterUtilityAssignmentSession | a MeterUtilityAssignmentSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeterUtilityAssignment() is false | ||
Compliance | optional | This method must be implemented if supportsMeterUtilityAssignment()
is true. | |
Method | getMeterSmartUtilitySession | ||
Description |
Gets the | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility |
Return | osid.metering.MeterSmartUtilitySession | a MeterSmartUtilitySession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsMeterSmartUtility() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsMeterUtility()
and supportsVisibleFederation() are true | |
Method | getUtilityLookupSession | ||
Description |
Gets the | ||
Return | osid.metering.UtilityLookupSession | a UtilityLookupSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsUtilityLookup() is false | ||
Compliance | optional | This method must be implemented if supportsUtilityLookup()
is true. | |
Method | getUtilityQuerySession | ||
Description |
Gets the | ||
Return | osid.metering.UtilityQuerySession | a UtilityQuerySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsUtilityQuery() is false | ||
Compliance | optional | This method must be implemented if supportsUtilityQuery() is
true. | |
Method | getUtilitySearchSession | ||
Description |
Gets the | ||
Return | osid.metering.UtilitySearchSession | a UtilitySearchSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsUtilitySearch() is false | ||
Compliance | optional | This method must be implemented if supportsUtilitySearch()
is true. | |
Method | getUtilityAdminSession | ||
Description |
Gets the | ||
Return | osid.metering.UtilityAdminSession | a UtilityAdminSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsUtilityAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsUtilityAdmin() is
true. | |
Method | getUtilityNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.metering.UtilityReceiver | utilityReceiver | the receiver |
Return | osid.metering.UtilityNotificationSession | a UtilityNotificationSession | |
Errors | NULL_ARGUMENT | utilityReceiver is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsUtilityNotification() is false | ||
Compliance | optional | This method must be implemented if supportsUtilityNotification()
is true. | |
Method | getUtilityHierarchySession | ||
Description |
Gets the | ||
Return | osid.metering.UtilityHierarchySession | a UtilityHierarchySession for utilities | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsUtilityHierarchy() is false | ||
Compliance | optional | This method must be implemented if supportsUtilityHierarchy()
is true. | |
Method | getUtilityHierarchyDesignSession | ||
Description |
Gets the | ||
Return | osid.metering.UtilityHierarchyDesignSession | a HierarchyDesignSession for utilities | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsUtilityHierarchyDesign() is false | ||
Compliance | optional | This method must be implemented if supportsUtilityHierarchyDesign()
is true. | |
Method | getMeteringBatchManager | ||
Description |
Gets a | ||
Return | osid.metering.batch.MeteringBatchManager | a MeteringBatchManager | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeteringBatch() is false | ||
Compliance | optional | This method must be implemented if supportsMeteringBatch()
is true. | |
Method | getMeteringThresholdManager | ||
Description |
Gets a | ||
Return | osid.metering.threshold.MeteringThresholdManager | a MeteringThresholdManager | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeteringThreshold() is false | ||
Compliance | optional | This method must be implemented if supportsMeteringThreshold()
is true. |