Package org.eclipse.emf.cdo.transaction
Interface CDOCommitContext
- 
- All Superinterfaces:
- CDOBranchProvider
 - All Known Subinterfaces:
- InternalCDOTransaction.InternalCDOCommitContext,- InternalCDOXATransaction.InternalCDOXACommitContext
 
 public interface CDOCommitContext extends CDOBranchProvider Provides a context for commit operations.- Since:
- 2.0
- Author:
- Simon McDuff
- 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 SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CDOBranchgetBranch()java.lang.StringgetCommitComment()CDOCommitDatagetCommitData()CDOBranchPointgetCommitMergeSource()java.util.Map<CDOID,CDOObject>getDetachedObjects()Returns a map of the detachedobjectsthat are to be committed with this commit context.java.util.Map<CDOID,CDOObject>getDirtyObjects()Returns a map of the dirtyobjectsthat are to be committed with this commit context.java.util.Collection<CDOID>getIDsToUnlock()java.util.Collection<CDOLob<?>>getLobs()java.util.Collection<CDOLockState>getLocksOnNewObjects()java.util.Map<CDOID,CDOObject>getNewObjects()Returns a map of the newobjectsthat are to be committed with this commit context.java.util.List<CDOPackageUnit>getNewPackageUnits()Returns a list of the newpackage unitsthat are to be committed with this commit context.java.util.Map<CDOID,CDORevisionDelta>getRevisionDeltas()Returns a map of therevision deltasthat are to be committed with this commit context.CDOTransactiongetTransaction()Returns thetransactionassociated with this commit context.java.lang.StringgetUserID()intgetViewID()booleanisAutoReleaseLocks()Deprecated.As of 4.5 no longer supported.booleanisPartialCommit()
 
- 
- 
- 
Method Detail- 
getUserIDjava.lang.String getUserID() - Since:
- 4.1
 
 - 
getViewIDint getViewID() - Since:
- 4.1
 
 - 
getBranchCDOBranch getBranch() - Specified by:
- getBranchin interface- CDOBranchProvider
- Since:
- 4.1
 
 - 
getTransactionCDOTransaction getTransaction() Returns thetransactionassociated with this commit context.
 - 
isPartialCommitboolean isPartialCommit() - Since:
- 4.0
 
 - 
getCommitDataCDOCommitData getCommitData() - Since:
- 4.1
 
 - 
getCommitCommentjava.lang.String getCommitComment() - Since:
- 4.1
 
 - 
getCommitMergeSourceCDOBranchPoint getCommitMergeSource() - Since:
- 4.6
 
 - 
getNewPackageUnitsjava.util.List<CDOPackageUnit> getNewPackageUnits() Returns a list of the newpackage unitsthat are to be committed with this commit context.
 - 
getNewObjectsjava.util.Map<CDOID,CDOObject> getNewObjects() Returns a map of the newobjectsthat are to be committed with this commit context.
 - 
getDirtyObjectsjava.util.Map<CDOID,CDOObject> getDirtyObjects() Returns a map of the dirtyobjectsthat are to be committed with this commit context.
 - 
getDetachedObjectsjava.util.Map<CDOID,CDOObject> getDetachedObjects() Returns a map of the detachedobjectsthat are to be committed with this commit context.
 - 
getRevisionDeltasjava.util.Map<CDOID,CDORevisionDelta> getRevisionDeltas() Returns a map of therevision deltasthat are to be committed with this commit context.
 - 
getLobsjava.util.Collection<CDOLob<?>> getLobs() - Since:
- 4.0
 
 - 
isAutoReleaseLocks@Deprecated boolean isAutoReleaseLocks() Deprecated.As of 4.5 no longer supported. SeegetIDsToUnlock().- Since:
- 4.1
 
 - 
getLocksOnNewObjectsjava.util.Collection<CDOLockState> getLocksOnNewObjects() - Since:
- 4.1
 
 - 
getIDsToUnlockjava.util.Collection<CDOID> getIDsToUnlock() - Since:
- 4.6
 
 
- 
 
-