org.eclipse.emf.cdo.transaction
Interface CDOCommitContext

All Known Subinterfaces:
InternalCDOTransaction.InternalCDOCommitContext, InternalCDOXATransaction.InternalCDOXACommitContext

public interface CDOCommitContext

Provides a context for commit operations.

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.

Method Summary
 CDOBranch getBranch()
           
 String getCommitComment()
           
 CDOCommitData getCommitData()
           
 Map<CDOID,CDOObject> getDetachedObjects()
          Returns a map of the detached objects that are to be committed with this commit context.
 Map<CDOID,CDOObject> getDirtyObjects()
          Returns a map of the dirty objects that are to be committed with this commit context.
 Collection<CDOLob<?>> getLobs()
           
 Collection<CDOLockState> getLocksOnNewObjects()
           
 Map<CDOID,CDOObject> getNewObjects()
          Returns a map of the new objects that are to be committed with this commit context.
 List<CDOPackageUnit> getNewPackageUnits()
          Returns a list of the new package units that are to be committed with this commit context.
 Map<CDOID,CDORevisionDelta> getRevisionDeltas()
          Returns a map of the revision deltas that are to be committed with this commit context.
 CDOTransaction getTransaction()
          Returns the transaction associated with this commit context.
 String getUserID()
           
 int getViewID()
           
 boolean isAutoReleaseLocks()
           
 boolean isPartialCommit()
           
 

Method Detail

getUserID

String getUserID()
Since:
4.1

getViewID

int getViewID()
Since:
4.1

getBranch

CDOBranch getBranch()
Since:
4.1

getTransaction

CDOTransaction getTransaction()
Returns the transaction associated with this commit context.


isAutoReleaseLocks

boolean isAutoReleaseLocks()
Since:
4.1

isPartialCommit

boolean isPartialCommit()
Since:
4.0

getCommitData

CDOCommitData getCommitData()
Since:
4.1

getCommitComment

String getCommitComment()
Since:
4.1

getNewPackageUnits

List<CDOPackageUnit> getNewPackageUnits()
Returns a list of the new package units that are to be committed with this commit context.


getLocksOnNewObjects

Collection<CDOLockState> getLocksOnNewObjects()
Since:
4.1

getNewObjects

Map<CDOID,CDOObject> getNewObjects()
Returns a map of the new objects that are to be committed with this commit context.


getDirtyObjects

Map<CDOID,CDOObject> getDirtyObjects()
Returns a map of the dirty objects that are to be committed with this commit context.


getDetachedObjects

Map<CDOID,CDOObject> getDetachedObjects()
Returns a map of the detached objects that are to be committed with this commit context.


getRevisionDeltas

Map<CDOID,CDORevisionDelta> getRevisionDeltas()
Returns a map of the revision deltas that are to be committed with this commit context.


getLobs

Collection<CDOLob<?>> getLobs()
Since:
4.0


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