Package org.eclipse.emf.cdo.transaction
Interface CDOCommitContext
- All Superinterfaces:
CDOBranchProvider
- All Known Subinterfaces:
InternalCDOTransaction.InternalCDOCommitContext
,InternalCDOXATransaction.InternalCDOXACommitContext
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 Summary
Modifier and TypeMethodDescriptionReturns a map of the detachedobjects
that are to be committed with this commit context.Returns a map of the dirtyobjects
that are to be committed with this commit context.Collection<CDOLob<?>>
getLobs()
Returns a map of the newobjects
that are to be committed with this commit context.Returns a list of the newpackage units
that are to be committed with this commit context.Returns a map of therevision deltas
that are to be committed with this commit context.Returns thetransaction
associated with this commit context.int
boolean
Deprecated.As of 4.5 no longer supported.boolean
-
Method Details
-
getUserID
String getUserID()- Since:
- 4.1
-
getViewID
int getViewID()- Since:
- 4.1
-
getBranch
CDOBranch getBranch()- Specified by:
getBranch
in interfaceCDOBranchProvider
- Since:
- 4.1
-
getTransaction
CDOTransaction getTransaction()Returns thetransaction
associated with this commit context. -
isPartialCommit
boolean isPartialCommit()- Since:
- 4.0
-
getCommitData
CDOCommitData getCommitData()- Since:
- 4.1
-
getCommitComment
String getCommitComment()- Since:
- 4.1
-
getCommitProperties
- Since:
- 4.25
-
getCommitMergeSource
CDOBranchPoint getCommitMergeSource()- Since:
- 4.6
-
getNewPackageUnits
List<CDOPackageUnit> getNewPackageUnits()Returns a list of the newpackage units
that are to be committed with this commit context. -
getNewObjects
Returns a map of the newobjects
that are to be committed with this commit context. -
getDirtyObjects
Returns a map of the dirtyobjects
that are to be committed with this commit context. -
getDetachedObjects
Returns a map of the detachedobjects
that are to be committed with this commit context. -
getRevisionDeltas
Map<CDOID,CDORevisionDelta> getRevisionDeltas()Returns a map of therevision deltas
that are to be committed with this commit context. -
getLobs
Collection<CDOLob<?>> getLobs()- Since:
- 4.0
-
isAutoReleaseLocks
Deprecated.As of 4.5 no longer supported. SeegetIDsToUnlock()
.- Since:
- 4.1
-
getLocksOnNewObjects
Collection<CDOLockState> getLocksOnNewObjects()- Since:
- 4.1
-
getIDsToUnlock
Collection<CDOID> getIDsToUnlock()- Since:
- 4.6
-