public interface IMutableTransactionManager extends ITransactionManager
Created 23. Januar 2003
Modifier and Type | Method and Description |
---|---|
void |
begin()
Create a new transaction and associate it with the current thread.
|
void |
commit()
Complete the transaction associated with the current thread.
|
IsolationLevel |
getIsolationLevel()
Get isolation level of the transaction associated with the current thread.
|
Status |
getStatus()
Get status of the transaction associated with the current thread.
|
void |
rollback()
Roll back the transaction associated with the current thread.
|
void |
setRollbackOnly()
Modify the transaction associated with the current thread such that the
only possible outcome of the transaction is to roll back the transaction.
|
void |
setTransactionTimeout(int seconds)
Modify the timeout value that is associated with transactions started by
subsequent invocations of the begin method.
|
getTransaction
void begin() throws RepositoryException
RepositoryException
- Exception raised in failure situationvoid commit() throws RepositoryException
RepositoryException
- Exception raised in failure situationvoid rollback() throws RepositoryException
RepositoryException
- Exception raised in failure situationvoid setRollbackOnly() throws RepositoryException
RepositoryException
- Exception raised in failure situationStatus getStatus() throws RepositoryException
RepositoryException
- Exception raised in failure situationIsolationLevel getIsolationLevel() throws RepositoryException
RepositoryException
- Exception raised in failure situationvoid setTransactionTimeout(int seconds) throws RepositoryException
seconds
- timeout in seconds - if null, the transaction manager
restores the default valueRepositoryException
- Exception raised in failure situationAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice