Interface ControlBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, ControlBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The control batch manager provides access to control batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
DeviceBatchAdminSession: a session to create, modify and deleteDevicesin bulk -
ControllerBatchAdminSession: a session to create, modify and delete Controllers in bulk -
InputBatchAdminSession: a session to create, modify and delete Inputs in bulk -
SettingBatchAdminSession: a session to create, modify and deleteSettingsin bulk -
SceneBatchAdminSession: a session to create, modify and deleteScenesin bulk -
TriggerBatchAdminSession: a session to create, modify and deleteTriggersin bulk -
ActionGroupBatchAdminSession: a session to create, modify and deleteActionGroupsin bulk -
SystemBatchAdminSession: a session to create, modify and deleteSystemsin bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk action group administration service.getActionGroupBatchAdminSessionForSystem(Id systemId) Gets theOsidSessionassociated with the bulk action group administration service for the given system.Gets theOsidSessionassociated with the bulk controller administration service.getControllerBatchAdminSessionForSystem(Id systemId) Gets theOsidSessionassociated with the bulk controller administration service for the given system.Gets theOsidSessionassociated with the bulk device administration service.getDeviceBatchAdminSessionForSystem(Id systemId) Gets theOsidSessionassociated with the bulk device administration service for the given system.Gets theOsidSessionassociated with the bulk input administration service.getInputBatchAdminSessionForSystem(Id systemId) Gets theOsidSessionassociated with the bulk input administration service for the given system.Gets theOsidSessionassociated with the bulk scene administration service.getSceneBatchAdminSessionForSystem(Id systemId) Gets theOsidSessionassociated with the bulk scene administration service for the given system.Gets theOsidSessionassociated with the bulk setting administration service.getSettingBatchAdminSessionForSystem(Id systemId) Gets theOsidSessionassociated with the bulk setting administration service for the given system.Gets theOsidSessionassociated with the bulk system administration service.Gets theOsidSessionassociated with the bulk trigger administration service.getTriggerBatchAdminSessionForSystem(Id systemId) Gets theOsidSessionassociated with the bulk trigger administration service for the given system.Methods inherited from interface ControlBatchProfile
supportsActionGroupBatchAdmin, supportsControllerBatchAdmin, supportsDeviceBatchAdmin, supportsInputBatchAdmin, supportsSceneBatchAdmin, supportsSettingBatchAdmin, supportsSystemBatchAdmin, supportsTriggerBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of action groups is available.booleanTests if bulk administration of controllers is available.booleanTests if bulk administration of devices is available.booleanTests if bulk administration of inputs is available.booleanTests if bulk administration of scenes is available.booleanTests if bulk administration of setting is available.booleanTests if bulk administration of systems is available.booleanTests if bulk administration of triggers 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
-
getDeviceBatchAdminSession
Gets theOsidSessionassociated with the bulk device administration service.- Returns:
- a
DeviceBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDeviceBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeviceBatchAdmin()} is {@code true} .
-
getDeviceBatchAdminSessionForSystem
DeviceBatchAdminSession getDeviceBatchAdminSessionForSystem(Id systemId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk device administration service for the given system.- Parameters:
systemId- theIdof theSystem- Returns:
- a
DeviceBatchAdminSession - Throws:
NotFoundException- noSystemfound by the givenIdNullArgumentException-systemIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDeviceBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeviceBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getControllerBatchAdminSession
Gets theOsidSessionassociated with the bulk controller administration service.- Returns:
- a
ControllerBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsControllerBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsControllerBatchAdmin()} is {@code true} .
-
getControllerBatchAdminSessionForSystem
ControllerBatchAdminSession getControllerBatchAdminSessionForSystem(Id systemId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk controller administration service for the given system.- Parameters:
systemId- theIdof theSystem- Returns:
- a
ControllerBatchAdminSession - Throws:
NotFoundException- noSystemfound by the givenIdNullArgumentException-systemIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsControllerBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsControllerBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getInputBatchAdminSession
Gets theOsidSessionassociated with the bulk input administration service.- Returns:
- an
InputBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsInputBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsInputBatchAdmin()} is {@code true} .
-
getInputBatchAdminSessionForSystem
InputBatchAdminSession getInputBatchAdminSessionForSystem(Id systemId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk input administration service for the given system.- Parameters:
systemId- theIdof theSystem- Returns:
- an
InputBatchAdminSession - Throws:
NotFoundException- noSystemfound by the givenIdNullArgumentException-systemIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsInputBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsInputBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getSettingBatchAdminSession
Gets theOsidSessionassociated with the bulk setting administration service.- Returns:
- a
SettingBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSettingBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSettingBatchAdmin()} is {@code true} .
-
getSettingBatchAdminSessionForSystem
SettingBatchAdminSession getSettingBatchAdminSessionForSystem(Id systemId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk setting administration service for the given system.- Parameters:
systemId- theIdof theSystem- Returns:
- a
SettingBatchAdminSession - Throws:
NotFoundException- noSystemfound by the givenIdNullArgumentException-systemIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSettingBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSettingBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getSceneBatchAdminSession
Gets theOsidSessionassociated with the bulk scene administration service.- Returns:
- a
SceneBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSceneBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSceneBatchAdmin()} is {@code true} .
-
getSceneBatchAdminSessionForSystem
SceneBatchAdminSession getSceneBatchAdminSessionForSystem(Id systemId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk scene administration service for the given system.- Parameters:
systemId- theIdof theSystem- Returns:
- a
SceneBatchAdminSession - Throws:
NotFoundException- noSystemfound by the givenIdNullArgumentException-systemIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSceneBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSceneBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getTriggerBatchAdminSession
Gets theOsidSessionassociated with the bulk trigger administration service.- Returns:
- a
TriggerBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsTriggerBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTriggerBatchAdmin()} is {@code true} .
-
getTriggerBatchAdminSessionForSystem
TriggerBatchAdminSession getTriggerBatchAdminSessionForSystem(Id systemId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk trigger administration service for the given system.- Parameters:
systemId- theIdof theSystem- Returns:
- a
TriggerBatchAdminSession - Throws:
NotFoundException- noSystemfound by the givenIdNullArgumentException-systemIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsTriggerBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTriggerBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getActionGroupBatchAdminSession
Gets theOsidSessionassociated with the bulk action group administration service.- Returns:
- an
ActionGroupBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsActionGroupBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActionGroupBatchAdmin()} is {@code true} .
-
getActionGroupBatchAdminSessionForSystem
ActionGroupBatchAdminSession getActionGroupBatchAdminSessionForSystem(Id systemId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk action group administration service for the given system.- Parameters:
systemId- theIdof theSystem- Returns:
- an
ActionGroupBatchAdminSession - Throws:
NotFoundException- noSystemfound by the givenIdNullArgumentException-systemIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsActionGroupBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActionGroupBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getSystemBatchAdminSession
Gets theOsidSessionassociated with the bulk system administration service.- Returns:
- a
SystemBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSystemBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSystemBatchAdmin()} is {@code true} .
-