public interface MeteringManager extends OsidManager, MeteringProfile
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:
MeterReadingSession:
a session to write to a
utility StatisticLookupSession:
a session for retrieving
some statistics from a meter StatisticQuerySession:
a session for querying
statistics StatisticSearchSession:
a session for searching
statistics StatisticNotificationSession:
a session for
subscribing to statistical notifications StatisticSmartUtilitySession:
a session for
managing smart utilities of statistics MeterLookupSession:
a session to look up meters
MeterQuerySession:
a session to query meters MeterSearchSession:
a session to search meters
MeterAdminSession:
a session to manage meters
MeterNotificationSession:
a session to subscribe
to notifications of new or changed meters MeterUtilitySession:
a session to look up meter to
utility mappings MeterUtilityAssignmentSession:
a session to manage
meter to utility mappings MeterSmartUtilitySession:
a session tomanage meter
smart utilities UtilityLookupSession:
a session to retrieve
utility objects UtilityQuerySession:
a session to query utilities
UtilitySearchSession:
a session to search for
utilities UtilityAdminSession:
a session to create, update
and delete utilities UtilityNotificationSession:
a session to receive
notifications for changes in utilities UtilityHierarchyTraversalSession:
a session to
traverse hierarchies of utilities UtilityHierarchyDesignSession:
a session to manage
hierarchues of utilities The metering manager also provides a profile for determing the supported search types supported by this service.
Modifier and Type | Method and Description |
---|---|
MeterAdminSession |
getMeterAdminSession()
Gets the
OsidSession associated with the meter
administrative service. |
MeterAdminSession |
getMeterAdminSessionForUtility(Id utilityId)
Gets the
OsidSession associated with the meter
administrative service for the given utility. |
MeteringBatchManager |
getMeteringBatchManager()
Gets a
MeteringBatchManager. |
MeteringThresholdManager |
getMeteringThresholdManager()
Gets a
MeteringThresholdManager. |
MeterLookupSession |
getMeterLookupSession()
Gets the
OsidSession associated with the meter lookup
service. |
MeterLookupSession |
getMeterLookupSessionForUtility(Id utilityId)
Gets the
OsidSession associated with the meter lookup
service for the given utility. |
MeterNotificationSession |
getMeterNotificationSession(MeterReceiver meterReceiver)
Gets the
OsidSession associated with the meter
notification service. |
MeterNotificationSession |
getMeterNotificationSessionForUtility(MeterReceiver meterReceiver,
Id utilityId)
Gets the
OsidSession associated with the meter
notification service for the given utility. |
MeterQuerySession |
getMeterQuerySession()
Gets the
OsidSession associated with the meter query
service. |
MeterQuerySession |
getMeterQuerySessionForUtility(Id utilityId)
Gets the
OsidSession associated with the meter query
service for the given utility. |
MeterReadingSession |
getMeterReadingSession()
Gets the
OsidSession associated with the meter reading
service. |
MeterReadingSession |
getMeterReadingSessionForUtility(Id utilityId)
Gets the
OsidSession associated with the meter reading
service for the given utility. |
MeterSearchSession |
getMeterSearchSession()
Gets the
OsidSession associated with the metering
search service. |
MeterSearchSession |
getMeterSearchSessionForUtility(Id utilityId)
Gets the
OsidSession associated with the meter search
service for the given utility. |
MeterSmartUtilitySession |
getMeterSmartUtilitySession(Id utilityId)
Gets the
OsidSession associated with the meter smart
utility session. |
MeterUtilityAssignmentSession |
getMeterUtilityAssignmentSession()
Gets the
OsidSession associated with managing the
mapping of meters and utilities. |
MeterUtilitySession |
getMeterUtilitySession()
Gets the
OsidSession associated with looking up mapping
of meters and utilities. |
StatisticLookupSession |
getStatisticLookupSession()
Gets the
OsidSession associated with the statistic
lookup service. |
StatisticLookupSession |
getStatisticLookupSessionForUtility(Id utilityId)
Gets the
OsidSession associated with the statistic
lookup service for the given utility. |
MeterNotificationSession |
getStatisticNotificationSession(StatisticReceiver statisticReceiver)
Gets the
OsidSession associated with the statistic
notification service. |
MeterNotificationSession |
getStatisticNotificationSessionForUtility(StatisticReceiver statisticReceiver,
Id utilityId)
Gets the
OsidSession associated with the statistic
notification service for the given utility. |
StatisticQuerySession |
getStatisticQuerySession()
Gets the
OsidSession associated with the statistic
query service. |
StatisticQuerySession |
getStatisticQuerySessionForUtility(Id utilityId)
Gets the
OsidSession associated with the statistic
query service for the given utility. |
StatisticSearchSession |
getStatisticSearchSession()
Gets the
OsidSession associated with the statistic
search service. |
StatisticSearchSession |
getStatisticSearchSessionForUtility(Id utilityId)
Gets the
OsidSession associated with the statistic
search service for the given utility. |
StatisticSmartUtilitySession |
getStatisticSmartUtilitySession(Id utilityId)
Gets the
OsidSession associated with the statistic
smart utility session. |
UtilityAdminSession |
getUtilityAdminSession()
Gets the
OsidSession associated with the utility
administrative service. |
UtilityHierarchyDesignSession |
getUtilityHierarchyDesignSession()
Gets the
OsidSession associated with the utility
hierarchy design service. |
UtilityHierarchySession |
getUtilityHierarchySession()
Gets the
OsidSession associated with the utility
hierarchy service. |
UtilityLookupSession |
getUtilityLookupSession()
Gets the
OsidSession associated with the utility lookup
service. |
UtilityNotificationSession |
getUtilityNotificationSession(UtilityReceiver utilityReceiver)
Gets the
OsidSession associated with the utility
notification service. |
UtilityQuerySession |
getUtilityQuerySession()
Gets the
OsidSession associated with the utility query
service. |
UtilitySearchSession |
getUtilitySearchSession()
Gets the
OsidSession associated with the utility search
service. |
changeBranch, initialize, rollbackService
close
getMeterRecordTypes, getMeterSearchRecordTypes, getStatisticRecordTypes, getStatisticSearchRecordTypes, getUtilityRecordTypes, getUtilitySearchRecordTypes, supportsMeteringBatch, supportsMeteringThreshold, supportsMeterLookup, supportsMeterNotification, supportsMeterQuery, supportsMeterReading, supportsMeterRecordType, supportsMeterSearch, supportsMeterSearchRecordType, supportsMeterUtility, supportsMeterUtilityAssignment, supportsSmartMeterUtility, supportsStatisticLookup, supportsStatisticNotification, supportsStatisticQuery, supportsStatisticRecordType, supportsStatisticSearch, supportsStatisticSearchRecordType, supportsStatisticSmartUtility, supportsUtilityAdmin, supportsUtilityHierarchy, supportsUtilityHierarchyDesign, supportsUtilityLookup, supportsUtilityNotification, supportsUtilityQuery, supportsUtilityRecordType, supportsUtilitySearch, supportsUtilitySearchRecordType, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
MeterReadingSession getMeterReadingSession() throws OperationFailedException
OsidSession
associated with the meter reading
service. MeterReadingSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterReading()
is false
optional
- This method must be implemented if
supportsMeterReading()
is true.
MeterReadingSession getMeterReadingSessionForUtility(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the meter reading
service for the given utility.utilityId
- the Id
of the Utility
MeterReadingSession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterReading()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsMeterReading()
and
supportsVisibleFederation()
are true
StatisticLookupSession getStatisticLookupSession() throws OperationFailedException
OsidSession
associated with the statistic
lookup service. StatisticLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStatisticLookup()
is false
optional
- This method must be implemented if
supportsStatisticLookup()
is true.
StatisticLookupSession getStatisticLookupSessionForUtility(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the statistic
lookup service for the given utility.utilityId
- the Id
of the Utility
StatisticLookupSession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStatisticLookup()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsStatisticLookup()
and
supportsVisibleFederation()
are true
StatisticQuerySession getStatisticQuerySession() throws OperationFailedException
OsidSession
associated with the statistic
query service. StatisticQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStatisticQuery()
is false
optional
- This method must be implemented if
supportsStatisticQuery()
is true.
StatisticQuerySession getStatisticQuerySessionForUtility(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the statistic
query service for the given utility.utilityId
- the Id
of the Utility
StatisticQuerySession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStatisticQuery()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsStatisticQuery()
and
supportsVisibleFederation()
are true
StatisticSearchSession getStatisticSearchSession() throws OperationFailedException
OsidSession
associated with the statistic
search service. StatisticSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStatisticSearch()
is false
optional
- This method must be implemented if
supportsStatisticSearch()
is true.
StatisticSearchSession getStatisticSearchSessionForUtility(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the statistic
search service for the given utility.utilityId
- the Id
of the Utility
StatisticSearchSession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStatisticSearch()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsStatisticSearch()
and
supportsVisibleFederation()
are true
MeterNotificationSession getStatisticNotificationSession(StatisticReceiver statisticReceiver) throws OperationFailedException
OsidSession
associated with the statistic
notification service.statisticReceiver
- the receiver StatisticNotificationSession
NullArgumentException
- statisticReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStatisticNotification()
is false
optional
- This method must be implemented if
supportsMeterNotification()
is true.
MeterNotificationSession getStatisticNotificationSessionForUtility(StatisticReceiver statisticReceiver, Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the statistic
notification service for the given utility.statisticReceiver
- the receiverutilityId
- the Id
of the Utility
StatisticNotificationSession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- statisticReceiver
or utilityId
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStatisticNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsStatisticNotification()
and
supportsVisibleFederation()
are true
StatisticSmartUtilitySession getStatisticSmartUtilitySession(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the statistic
smart utility session.utilityId
- the Id
of the Utility
StatisticSmartUtilitySession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsStatisticSmartUtility()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsStatisticUtility()
and
supportsVisibleFederation()
are true
MeterLookupSession getMeterLookupSession() throws OperationFailedException
OsidSession
associated with the meter lookup
service. MeterLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterLookup()
is false
optional
- This method must be implemented if
supportsMeterLookup()
is true.
MeterLookupSession getMeterLookupSessionForUtility(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the meter lookup
service for the given utility.utilityId
- the Id
of the Utility
MeterLookupSession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterLookup()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsMeterLookup()
and
supportsVisibleFederation()
are true
MeterQuerySession getMeterQuerySession() throws OperationFailedException
OsidSession
associated with the meter query
service. MeterQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterQuery()
is false
optional
- This method must be implemented if
supportsMeterQuery()
is true.
MeterQuerySession getMeterQuerySessionForUtility(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the meter query
service for the given utility.utilityId
- the Id
of the Utility
MeterQuerySession
NotFoundException
- no Utility found by the given IdNullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterQuery()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsMeterQuery()
and
supportsVisibleFederation()
are true
MeterSearchSession getMeterSearchSession() throws OperationFailedException
OsidSession
associated with the metering
search service. MeterSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterSearch()
is false
optional
- This method must be implemented if
supportsMeterSearch()
is true.
MeterSearchSession getMeterSearchSessionForUtility(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the meter search
service for the given utility.utilityId
- the Id
of the Utility
MeterSearchSession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterSearch()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsMeterSearch()
and
supportsVisibleFederation()
are true
MeterAdminSession getMeterAdminSession() throws OperationFailedException
OsidSession
associated with the meter
administrative service. MeterAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterAdmin()
is false
optional
- This method must be implemented if
supportsMeterAdmin()
is true.
MeterAdminSession getMeterAdminSessionForUtility(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the meter
administrative service for the given utility.utilityId
- the Id
of the Utility
MeterAdminSession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterAdmin()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsMeterAdmin()
and
supportsVisibleFederation()
are true
MeterNotificationSession getMeterNotificationSession(MeterReceiver meterReceiver) throws OperationFailedException
OsidSession
associated with the meter
notification service.meterReceiver
- the receiver MeterNotificationSession
NullArgumentException
- meterReceiver
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsMeterNotification()
is false
optional
- This method must be implemented if
supportsMeterNotification()
is true.
MeterNotificationSession getMeterNotificationSessionForUtility(MeterReceiver meterReceiver, Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the meter
notification service for the given utility.meterReceiver
- the receiverutilityId
- the Id
of the Utility
MeterNotificationSession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- meterReceiver
or
utilityId
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsMeterNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsMeterNotification()
and
supportsVisibleFederation()
are true
MeterUtilitySession getMeterUtilitySession() throws OperationFailedException
OsidSession
associated with looking up mapping
of meters and utilities. MeterUtilitySession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeterUtility()
is false
optional
- This method must be implemented if
supportsMeterUtility()
is true.
MeterUtilityAssignmentSession getMeterUtilityAssignmentSession() throws OperationFailedException
OsidSession
associated with managing the
mapping of meters and utilities. MeterUtilityAssignmentSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsMeterUtilityAssignment()
is false
optional
- This method must be implemented if
supportsMeterUtilityAssignment()
is true.
MeterSmartUtilitySession getMeterSmartUtilitySession(Id utilityId) throws NotFoundException, OperationFailedException
OsidSession
associated with the meter smart
utility session.utilityId
- the Id
of the Utility
MeterSmartUtilitySession
NotFoundException
- no Utility
found by
the given Id
NullArgumentException
- utilityId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsMeterSmartUtility()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsMeterUtility()
and
supportsVisibleFederation()
are true
UtilityLookupSession getUtilityLookupSession() throws OperationFailedException
OsidSession
associated with the utility lookup
service. UtilityLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsUtilityLookup()
is false
optional
- This method must be implemented if
supportsUtilityLookup()
is true.
UtilityQuerySession getUtilityQuerySession() throws OperationFailedException
OsidSession
associated with the utility query
service. UtilityQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsUtilityQuery()
is false
optional
- This method must be implemented if
supportsUtilityQuery()
is true.
UtilitySearchSession getUtilitySearchSession() throws OperationFailedException
OsidSession
associated with the utility search
service. UtilitySearchSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsUtilitySearch()
is false
optional
- This method must be implemented if
supportsUtilitySearch()
is true.
UtilityAdminSession getUtilityAdminSession() throws OperationFailedException
OsidSession
associated with the utility
administrative service. UtilityAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsUtilityAdmin()
is false
optional
- This method must be implemented if
supportsUtilityAdmin()
is true.
UtilityNotificationSession getUtilityNotificationSession(UtilityReceiver utilityReceiver) throws OperationFailedException
OsidSession
associated with the utility
notification service.utilityReceiver
- the receiver UtilityNotificationSession
NullArgumentException
- utilityReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsUtilityNotification()
is false
optional
- This method must be implemented if
supportsUtilityNotification()
is true.
UtilityHierarchySession getUtilityHierarchySession() throws OperationFailedException
OsidSession
associated with the utility
hierarchy service. UtilityHierarchySession
for utilitiesOperationFailedException
- unable to complete requestUnimplementedException
-
supportsUtilityHierarchy()
is false
optional
- This method must be implemented if
supportsUtilityHierarchy()
is true.
UtilityHierarchyDesignSession getUtilityHierarchyDesignSession() throws OperationFailedException
OsidSession
associated with the utility
hierarchy design service. HierarchyDesignSession
for utilitiesOperationFailedException
- unable to complete requestUnimplementedException
-
supportsUtilityHierarchyDesign()
is false
optional
- This method must be implemented if
supportsUtilityHierarchyDesign()
is true.
MeteringBatchManager getMeteringBatchManager() throws OperationFailedException
MeteringBatchManager.
MeteringBatchManager
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMeteringBatch()
is false
optional
- This method must be implemented if
supportsMeteringBatch()
is true.
MeteringThresholdManager getMeteringThresholdManager() throws OperationFailedException
MeteringThresholdManager.
MeteringThresholdManager
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsMeteringThreshold()
is false
optional
- This method must be implemented if
supportsMeteringThreshold()
is true.