Interface MeteringBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, MeteringBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The metering batch manager provides access to metering batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
MeterBatchAdminSession: a session to create, modify and delete meters in bulk -
UtilityBatchAdminSession: a session to create, modify and delete utilities in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk meter administration service.getMeterBatchAdminSessionForUtility(Id utilityId) Gets theOsidSessionassociated with the bulk meter administration service for the given utility.Gets theOsidSessionassociated with the bulk utility administration service.Methods inherited from interface MeteringBatchProfile
supportsMeterBatchAdmin, supportsUtilityBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of meters is available.booleanTests if bulk administration of utilities is available.booleanTests if federation is visible.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getMeterBatchAdminSession
Gets theOsidSessionassociated with the bulk meter administration service.- Returns:
- a
MeterBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsMeterBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMeterBatchAdmin()} is {@code true} .
-
getMeterBatchAdminSessionForUtility
MeterBatchAdminSession getMeterBatchAdminSessionForUtility(Id utilityId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk meter administration service for the given utility.- Parameters:
utilityId- theIdof theUtility- Returns:
- a
MeterBatchAdminSession - Throws:
NotFoundException- noUtilityfound by the givenIdNullArgumentException-utilityIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsMeterBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMeterBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getUtilityBatchAdminSession
Gets theOsidSessionassociated with the bulk utility administration service.- Returns:
- a
UtilityBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsUtilityBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsUtilityBatchAdmin()} is {@code true} .
-