public interface CDOTransactionContainer extends CDOViewContainer
transactions
and provide access to openend transactions.IContainer.Modifiable<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(CDOBranchPoint target,
ResourceSet resourceSet)
Opens and returns a new
transaction on the given EMF resource set . |
CDOTransaction |
openTransaction(CDOBranch branch,
ResourceSet resourceSet)
Opens and returns a new
transaction on the given EMF resource set . |
CDOTransaction |
openTransaction(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) . |
CDOTransaction |
openTransaction(String durableLockingID,
ResourceSet resourceSet)
Opens and returns a
transaction on the given 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, openView, openView
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
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, ResourceSet resourceSet)
transaction
on the given EMF resource set
.openTransaction()
CDOTransaction openTransaction(CDOBranchPoint target)
transaction
on a new EMF resource set
.openTransaction()
CDOTransaction openTransaction(CDOBranch branch, ResourceSet resourceSet)
transaction
on the given EMF resource set
.openTransaction()
CDOTransaction openTransaction(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())
.
openTransaction(String,ResourceSet)
CDOTransaction openTransaction(String durableLockingID, ResourceSet resourceSet)
transaction
on the given EMF resource set
by
resuming a transaction that has previously been made durable by calling
CDOTransaction.enableDurableLocking(true)
.openTransaction(String)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.