public interface CDOTransactionContainer extends CDOViewContainer, CDOTransactionOpener
transactions
and provide access to openend transactions.CDOTransaction
- - transactionsIContainer.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,
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) . |
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, 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())
.
CDOTransactionOpener.openTransaction(String,ResourceSet)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html