public static class NuxeoContainer.UserTransactionImpl extends Object implements UserTransaction
Constructor and Description |
---|
NuxeoContainer.UserTransactionImpl(TransactionManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int seconds) |
public NuxeoContainer.UserTransactionImpl(TransactionManager manager)
public int getStatus() throws SystemException
getStatus
in interface UserTransaction
SystemException
public void setRollbackOnly() throws IllegalStateException, SystemException
setRollbackOnly
in interface UserTransaction
IllegalStateException
SystemException
public void setTransactionTimeout(int seconds) throws SystemException
setTransactionTimeout
in interface UserTransaction
SystemException
public void begin() throws NotSupportedException, SystemException
begin
in interface UserTransaction
NotSupportedException
SystemException
public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException
commit
in interface UserTransaction
HeuristicMixedException
HeuristicRollbackException
IllegalStateException
RollbackException
SecurityException
SystemException
public void rollback() throws IllegalStateException, SecurityException, SystemException
rollback
in interface UserTransaction
IllegalStateException
SecurityException
SystemException
Copyright © 2015 Nuxeo SA. All rights reserved.