public interface EnterpriseDomainManager extends DomainManager
DomainManager.State, DomainManager.StateListener| Modifier and Type | Method and Description |
|---|---|
void |
beginTransaction()
Starts a database transaction.
|
void |
commit()
Makes all changes made in the current transaction permanent.
|
void |
rollback()
Undoes all changes made in the current transaction.
|
addAuthenticationNode, addRemoteDomainNode, addSecureGroupNode, addStateListener, addToSecureGroup, destroy, exists, getAuthenticationNode, getAuthenticationNodeIDs, getManagerState, getNodeType, getRemoteDomainNode, getRemoteDomainNodeIDs, getSecureGroupNode, getSecureGroupNodeIDs, getStorageDomainID, grantPermission, isEnabled, removeAuthenticationNode, removeCredentials, removeFromSecureGroup, removeRemoteDomainLocalNode, removeRemoteDomainNode, removeSecureGroupNode, removeStateListener, revokePermission, setCredentials, setCredentials, setEnabled, setGroupConfig, setRemoteDomainLocalNode, start, stopvoid beginTransaction()
throws java.lang.Exception
If an application never calls beginTransaction, auto-commit is enabled, meaning that each method call that results in a change to stored data will automatically call commit, making the change permanent. After beginTransaction has been called, the application must call commit or rollback itself. Calling commit or rollback ends the transaction and auto-commit mode will be enabled again until beginTransaction is called.
java.lang.Exception - on failurevoid commit()
throws java.lang.Exception
java.lang.Exception - on failure.void rollback()
throws java.lang.Exception
java.lang.Exception - on failure.