org.eclipse.emf.spi.cdo
Interface CDOTransactionStrategy


public interface CDOTransactionStrategy

Since:
2.0
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Field Summary
static CDOTransactionStrategy DEFAULT
           
 
Method Summary
 CDOCommitInfo commit(InternalCDOTransaction transaction, IProgressMonitor progressMonitor)
          TODO Better use an OMMonitor?
 void rollback(InternalCDOTransaction transaction, InternalCDOUserSavepoint savepoint)
           
 InternalCDOUserSavepoint setSavepoint(InternalCDOTransaction transaction)
           
 void setTarget(InternalCDOTransaction transaction)
           
 void unsetTarget(InternalCDOTransaction transaction)
           
 

Field Detail

DEFAULT

static final CDOTransactionStrategy DEFAULT
Method Detail

setTarget

void setTarget(InternalCDOTransaction transaction)

unsetTarget

void unsetTarget(InternalCDOTransaction transaction)

commit

CDOCommitInfo commit(InternalCDOTransaction transaction,
                     IProgressMonitor progressMonitor)
                     throws Exception
TODO Better use an OMMonitor?

Throws:
Exception
Since:
3.0

rollback

void rollback(InternalCDOTransaction transaction,
              InternalCDOUserSavepoint savepoint)
Since:
3.0

setSavepoint

InternalCDOUserSavepoint setSavepoint(InternalCDOTransaction transaction)
Since:
3.0


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.