Package org.eclipse.emf.cdo.transaction
Interface CDOXATransaction
- 
- All Superinterfaces:
- CDOUserTransaction
 - All Known Subinterfaces:
- InternalCDOXATransaction
 
 public interface CDOXATransaction extends CDOUserTransaction A distributed (XA) transaction that can atomically commit the changes to multipleresource sets, each represented by a registeredview set.- Since:
- 2.0
- Author:
- Simon McDuff
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(CDOViewSet viewSet)CDOXASavepointgetLastSavepoint()booleanisAllowRequestFromTransactionEnabled()Allow request that come from containsCDOTransaction.voidremove(CDOViewSet viewSet)voidsetAllowRequestFromTransactionEnabled(boolean allRequest)CDOXASavepointsetSavepoint()Creates a save point in theCDOTransactionthat can be used to roll back a part of the transaction- 
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOUserTransactioncommit, commit, rollback
 
- 
 
- 
- 
- 
Method Detail- 
addvoid add(CDOViewSet viewSet) 
 - 
removevoid remove(CDOViewSet viewSet) 
 - 
setAllowRequestFromTransactionEnabledvoid setAllowRequestFromTransactionEnabled(boolean allRequest) 
 - 
isAllowRequestFromTransactionEnabledboolean isAllowRequestFromTransactionEnabled() Allow request that come from containsCDOTransaction. Default value is true.If the value is true, cdoTransaction.commit() will call xaTransaction.commit and all CDOXATransactionpart of xaTransaction will be committed.If the value is false, the user will receive an exception by calling cdoTransaction.commit(). The user can only commit from CDOXATransaction.
 - 
setSavepointCDOXASavepoint setSavepoint() Description copied from interface:CDOUserTransactionCreates a save point in theCDOTransactionthat can be used to roll back a part of the transactionSave points do not involve the server side, everything is done on the client side. - Specified by:
- setSavepointin interface- CDOUserTransaction
- Since:
- 3.0
 
 - 
getLastSavepointCDOXASavepoint getLastSavepoint() - Specified by:
- getLastSavepointin interface- CDOUserTransaction
- Since:
- 3.0
 
 
- 
 
-