public static final class CDOCompareEditorUtil.TransactionOpenerAndEditorCloser extends Object implements CDOTransactionOpener
Constructor and Description |
---|
TransactionOpenerAndEditorCloser(CDOTransactionOpener delegate,
boolean closeTransactionAfterCommit) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCloseTransactionAfterCommit() |
CDOTransaction |
openTransaction(CDOBranchPoint target,
ResourceSet resourceSet)
Opens and returns a new
transaction on the given EMF resource set . |
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) . |
public TransactionOpenerAndEditorCloser(CDOTransactionOpener delegate, boolean closeTransactionAfterCommit)
public boolean isCloseTransactionAfterCommit()
public CDOTransaction openTransaction(String durableLockingID, ResourceSet resourceSet)
CDOTransactionOpener
transaction
on the given EMF resource set
by
resuming a transaction that has previously been made durable by calling
CDOTransaction.enableDurableLocking(true)
.openTransaction
in interface CDOTransactionOpener
public CDOTransaction openTransaction(CDOBranchPoint target, ResourceSet resourceSet)
CDOTransactionOpener
transaction
on the given EMF resource set
.openTransaction
in interface CDOTransactionOpener
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