public interface CDOTransactionContainer extends CDOViewContainer, CDOTransactionOpener
transactions
and provide access to openend transactions.IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Modifier and Type | Method and Description |
---|---|
CDOTransaction |
getTransaction(int viewID) |
CDOTransaction[] |
getTransactions()
Returns an array of all open
transactions of this session. |
CDOTransaction[] |
getTransactions(CDOBranch branch)
Returns an array of all
transactions of this session that are open on the given branch. |
CDOTransaction |
openTransaction()
Opens and returns a new
transaction on a new EMF resource set . |
CDOTransaction |
openTransaction(CDOBranch branch)
Opens and returns a new
transaction on a new EMF resource set . |
CDOTransaction |
openTransaction(CDOBranchPoint target)
Opens and returns a new
transaction on a new EMF resource set . |
CDOTransaction |
openTransaction(CDOBranch branch,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Opens and returns a new
transaction on the given EMF resource set . |
CDOTransaction |
openTransaction(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Opens and returns a new
transaction on the given EMF resource set . |
CDOTransaction |
openTransaction(String durableLockingID)
Opens and returns a
transaction on a new EMF resource set by resuming a
transaction that has previously been made durable by calling CDOTransaction.enableDurableLocking(true) . |
getView, getViews, getViews, openView, openView, openView, openView, openView, openView, openView, openView
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
openView, openView
openTransaction, openTransaction
CDOTransaction[] getTransactions()
transactions
of this session.CDOViewContainer.openView()
,
openTransaction()
CDOTransaction[] getTransactions(CDOBranch branch)
transactions
of this session that are open on the given branch.CDOTransaction getTransaction(int viewID)
CDOTransaction openTransaction(CDOBranchPoint target)
transaction
on a new EMF resource set
.openTransaction()
CDOTransaction openTransaction(CDOBranch branch, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
transaction
on the given EMF resource set
.openTransaction()
CDOTransaction openTransaction(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
transaction
on the given EMF resource set
.openTransaction()
CDOTransaction openTransaction(CDOBranch branch)
transaction
on a new EMF resource set
.
Same as calling openTransaction(new ResourceSetImpl())
.
openTransaction(ResourceSet)
CDOTransaction openTransaction()
transaction
on a new EMF resource set
.
Same as calling openTransaction(new ResourceSetImpl())
.
openTransaction(ResourceSet)
CDOTransaction openTransaction(String durableLockingID)
transaction
on a new EMF resource set
by resuming a
transaction that has previously been made durable by calling CDOTransaction.enableDurableLocking(true)
.
Same as calling openTransaction(durableLockingID, new ResourceSetImpl())
.
CDOTransactionOpener.openTransaction(String,ResourceSet)
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.