Package org.eclipse.emf.cdo.transaction
Interface CDOTransactionContainer
- 
- All Superinterfaces:
- CDOTransactionOpener,- CDOViewContainer,- CDOViewOpener,- org.eclipse.net4j.util.container.IContainer<CDOView>,- org.eclipse.net4j.util.event.INotifier
 - All Known Subinterfaces:
- CDONet4jSession,- CDOSession,- CDOSession,- InternalCDOSession
 
 public interface CDOTransactionContainer extends CDOViewContainer, CDOTransactionOpener Can open newtransactionsand provide access to openend transactions.- Since:
- 4.1
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainerorg.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOTransactiongetTransaction(int viewID)CDOTransaction[]getTransactions()Returns an array of all opentransactionsof this session.CDOTransaction[]getTransactions(CDOBranch branch)Returns an array of alltransactionsof this session that are open on the given branch.CDOTransactionopenTransaction()Opens and returns a newtransactionon a new EMFresource set.CDOTransactionopenTransaction(java.lang.String durableLockingID)Opens and returns atransactionon a new EMFresource setby resuming a transaction that has previously been made durable by callingCDOTransaction.enableDurableLocking(true).CDOTransactionopenTransaction(CDOBranch branch)Opens and returns a newtransactionon a new EMFresource set.CDOTransactionopenTransaction(CDOBranchPoint target)Opens and returns a newtransactionon a new EMFresource set.CDOTransactionopenTransaction(CDOBranch branch, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)Opens and returns a newtransactionon the given EMFresource set.CDOTransactionopenTransaction(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)Opens and returns a newtransactionon the given EMFresource set.- 
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionOpeneropenTransaction, openTransaction
 - 
Methods inherited from interface org.eclipse.emf.cdo.view.CDOViewContainergetView, getViews, getViews, openView, openView, openView, openView, openView, openView, openView, openView
 - 
Methods inherited from interface org.eclipse.emf.cdo.view.CDOViewOpeneropenView, openView
 
- 
 
- 
- 
- 
Method Detail- 
getTransactionsCDOTransaction[] getTransactions() Returns an array of all opentransactionsof this session.- See Also:
- CDOViewContainer.openView(),- openTransaction()
 
 - 
getTransactionsCDOTransaction[] getTransactions(CDOBranch branch) Returns an array of alltransactionsof this session that are open on the given branch.- Since:
- 4.2
 
 - 
getTransactionCDOTransaction getTransaction(int viewID) - Since:
- 4.1
 
 - 
openTransactionCDOTransaction openTransaction(CDOBranchPoint target) Opens and returns a newtransactionon a new EMFresource set.- Since:
- 4.0
- See Also:
- openTransaction()
 
 - 
openTransactionCDOTransaction openTransaction(CDOBranch branch, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) Opens and returns a newtransactionon the given EMFresource set.- Since:
- 3.0
- See Also:
- openTransaction()
 
 - 
openTransactionCDOTransaction openTransaction(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) Opens and returns a newtransactionon the given EMFresource set.- Since:
- 3.0
- See Also:
- openTransaction()
 
 - 
openTransactionCDOTransaction openTransaction(CDOBranch branch) Opens and returns a newtransactionon a new EMFresource set.Same as calling openTransaction(new ResourceSetImpl()).- Since:
- 3.0
- See Also:
- openTransaction(ResourceSet)
 
 - 
openTransactionCDOTransaction openTransaction() Opens and returns a newtransactionon a new EMFresource set.Same as calling openTransaction(new ResourceSetImpl()).- See Also:
- openTransaction(ResourceSet)
 
 - 
openTransactionCDOTransaction openTransaction(java.lang.String durableLockingID) Opens and returns atransactionon a new EMFresource setby resuming a transaction that has previously been made durable by callingCDOTransaction.enableDurableLocking(true).Same as calling openTransaction(durableLockingID, new ResourceSetImpl()).- Since:
- 4.0
- See Also:
- CDOTransactionOpener.openTransaction(String,ResourceSet)
 
 
- 
 
-