public static interface IStoreAccessor.CommitContext extends CDORevisionProvider
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.Modifier and Type | Method and Description |
---|---|
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()
|
CDOBranchVersion[] |
getDetachedObjectVersions() |
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.
|
long |
getLastUpdateTime() |
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() |
byte |
getRollbackReason() |
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() |
boolean |
isClearResourcePathCache() |
boolean |
isUsingEcore() |
boolean |
isUsingEtypes() |
getRevision
ITransaction getTransaction()
ITransaction
) which is the scope of the commit operation represented
by this CommitContext
.CDOBranchPoint getBranchPoint()
long getPreviousTimeStamp()
String getUserID()
String getCommitComment()
long getLastUpdateTime()
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.boolean isClearResourcePathCache()
boolean isUsingEcore()
boolean isUsingEtypes()
InternalCDOPackageUnit[] getNewPackageUnits()
CommitContext
.CDOLockState[] getLocksOnNewObjects()
CommitContext
.InternalCDORevision[] getNewObjects()
CommitContext
.InternalCDORevision[] getDirtyObjects()
CommitContext
.InternalCDORevisionDelta[] getDirtyObjectDeltas()
CommitContext
.CDOID[] getDetachedObjects()
CommitContext
.CDOBranchVersion[] getDetachedObjectVersions()
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()
byte getRollbackReason()
CDOProtocolConstants
String getRollbackMessage()
List<CDOIDReference> getXRefs()
List<RWOLockManager.LockState<Object,IView>> getPostCommmitLockStates()
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.