Interface | osid.metering.MeteringProxyManager | ||
---|---|---|---|
Implements | osid.OsidProxyManager | ||
osid.metering.MeteringProfile | |||
Description |
The metering manager provides access to metering sessions
and provides interoperability tests for various aspects of
this service. Methods in this manager support the passing of a
The metering manager also provides a profile for determing the supported search types supported by this service. | ||
Method | getMeterReadingSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.MeterReadingSession | a MeterReadingSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.MeterReadingSession | a MeterReadingSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy 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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.StatisticLookupSession | a MeterStatisticsSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.StatisticLookupSession | a MeterStatisticsSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy 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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.StatisticQuerySession | a StatisticQuerySession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.StatisticQuerySession | a StatisticQuerySession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy 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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.StatisticSearchSession | a StatisticSearchSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.StatisticSearchSession | a StatisticSearchSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy 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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.StatisticNotificationSession | a StatisticNotificationSession | |
Errors | NULL_ARGUMENT | statisticReceiver or proxy is null
| |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsStatisticNotification() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticNotification()
is true. | |
Method | getStatisticNotificationSessionForUtility | ||
Description |
Gets the | ||
Parameters | osid.metering.StatisticReceiver | statisticReceiver | the receiver |
osid.id.Id | utilityId | the Id of the Utility | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.StatisticNotificationSession | a StatisticNotificationSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | statisticReceiver, utilityId or proxy 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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.StatisticSmartUtilitySession | a StatisticSmartUtilitySession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsStatisticSmartUtility() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsStatisticSmartUtility()
and supportsVisibleFederation() are true | |
Method | getMeterLookupSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.MeterLookupSession | a MeterLookupSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.MeterLookupSession | a MeterLookupSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy 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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.MeterQuerySession | a MeterQuerySession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.MeterQuerySession | a MeterQuerySession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy 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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.MeterSearchSession | a MeterSearchSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.MeterSearchSession | a MeterSearchSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy 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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.MeterAdminSession | a MeterAdminSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.MeterAdminSession | a MeterAdminSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy 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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.MeterNotificationSession | a MeterNotificationSession | |
Errors | NULL_ARGUMENT | meterReceiver or proxy 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 | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.MeterNotificationSession | a MeterNotificationSession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | meterReceiver, utilityId or proxy 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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.MeterUtilitySession | a MeterUtilitySession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.MeterUtilityAssignmentSession | a MeterUtilityAssignmentSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.MeterSmartUtilitySession | a MeterSmartUtilitySession | |
Errors | NOT_FOUND | no Utility found by the given Id | |
NULL_ARGUMENT | utilityId or proxy is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsMeterSmartUtility() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsMeterSmartUtility()
and supportsVisibleFederation() are true | |
Method | getUtilityLookupSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.UtilityLookupSession | a UtilityLookupSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.UtilityQuerySession | a UtilityQuerySession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.UtilitySearchSession | a UtilitySearchSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.UtilityAdminSession | a UtilityAdminSession | |
Errors | NULL_ARGUMENT | proxy is null | |
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 |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.metering.UtilityNotificationSession | a UtilityNotificationSession | |
Errors | NULL_ARGUMENT | utilityReceiver or proxy 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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.UtilityHierarchySession | a UtilityHierarchySession for utilities | |
Errors | NULL_ARGUMENT | proxy is null | |
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 | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.metering.UtilityHierarchyDesignSession | a HierarchyDesignSession for utilities | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsUtilityHierarchyDesign() is false | ||
Compliance | optional | This method must be implemented if supportsUtilityHierarchyDesign()
is true. | |
Method | getMeteringBatchProxyManager | ||
Description |
Gets a | ||
Return | osid.metering.batch.MeteringBatchProxyManager | a MeteringBatchProxyManager | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeteringBatch() is false | ||
Compliance | optional | This method must be implemented if supportsMeteringBatch()
is true. | |
Method | getMeteringThresholdProxyManager | ||
Description |
Gets a | ||
Return | osid.metering.threshold.MeteringThresholdProxyManager | a MeteringThresholdProxyManager | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsMeteringThreshold() is false | ||
Compliance | optional | This method must be implemented if supportsMeteringThreshold()
is true. |