|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the state of a single, logical commit operation which is driven through multiple calls to several
methods on the IStoreAccessor
API. All these method calls get the same CommitContext
instance
passed so that the implementor of the IStoreAccessor
can track the state and progress of the commit
operation.
Method Summary | |
---|---|
CDOCommitInfo |
createCommitInfo()
|
CDOBranchPoint |
getBranchPoint()
Returns the branch ID and timestamp of this commit operation. |
String |
getCommitComment()
|
CDOID[] |
getDetachedObjects()
Returns an array of the removed object that are part of the commit operation represented by this CommitContext . |
Map<CDOID,EClass> |
getDetachedObjectTypes()
Returns a map with an EClass value per CDOID type. |
InternalCDORevisionDelta[] |
getDirtyObjectDeltas()
Returns an array of the dirty object deltas that are part of the commit operation represented by this CommitContext . |
InternalCDORevision[] |
getDirtyObjects()
Returns an array of the dirty objects that are part of the commit operation represented by this CommitContext . |
Map<CDOID,CDOID> |
getIDMappings()
Returns an unmodifiable map from all temporary IDs to their persistent counter parts. |
ExtendedDataInputStream |
getLobs()
Returns a stream that all lobs can be read from. |
CDOLockState[] |
getLocksOnNewObjects()
Returns an array of the locks on the new objects that are part of the commit operation represented by this CommitContext . |
InternalCDORevision[] |
getNewObjects()
Returns an array of the new objects that are part of the commit operation represented by this CommitContext . |
InternalCDOPackageUnit[] |
getNewPackageUnits()
Returns an array of the new package units that are part of the commit operation represented by this CommitContext . |
InternalCDOPackageRegistry |
getPackageRegistry()
Returns the temporary, transactional package manager associated with the commit operation represented by this CommitContext . |
List<RWOLockManager.LockState<Object,IView>> |
getPostCommmitLockStates()
|
long |
getPreviousTimeStamp()
|
String |
getRollbackMessage()
|
ITransaction |
getTransaction()
Returns the transactional view ( ITransaction ) which is the scope of the commit operation represented
by this CommitContext . |
String |
getUserID()
|
List<CDOIDReference> |
getXRefs()
|
boolean |
isAutoReleaseLocksEnabled()
|
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionProvider |
---|
getRevision |
Method Detail |
---|
ITransaction getTransaction()
ITransaction
) which is the scope of the commit operation represented
by this CommitContext
.
CDOBranchPoint getBranchPoint()
long getPreviousTimeStamp()
String getUserID()
String getCommitComment()
boolean isAutoReleaseLocksEnabled()
InternalCDOPackageRegistry getPackageRegistry()
CommitContext
. In addition to the packages registered with the session this package manager also
contains the new packages that are part of this commit operation.
InternalCDOPackageUnit[] getNewPackageUnits()
CommitContext
.
CDOLockState[] getLocksOnNewObjects()
CommitContext
.
InternalCDORevision[] getNewObjects()
CommitContext
.
InternalCDORevision[] getDirtyObjects()
CommitContext
.
InternalCDORevisionDelta[] getDirtyObjectDeltas()
CommitContext
.
CDOID[] getDetachedObjects()
CommitContext
.
Map<CDOID,EClass> getDetachedObjectTypes()
EClass
value per CDOID
type.
ExtendedDataInputStream getLobs()
lobs
can be read from. The format of the data delivered through the
stream is:
int
: the number of lobs to be read from the stream.
Map<CDOID,CDOID> getIDMappings()
CDOCommitInfo createCommitInfo()
String getRollbackMessage()
List<CDOIDReference> getXRefs()
List<RWOLockManager.LockState<Object,IView>> getPostCommmitLockStates()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |