|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface IStoreWriter.CommitContext
Represents the state of a single, logical commit operation which is driven through multiple calls to several
methods on the IStoreWriter
API. All these method calls get the same CommitContext
instance
passed so that the implementor of the IStoreWriter
can track the state and progress of the commit
operation.
Method Summary | |
---|---|
void |
addIDMapping(CDOIDTemp oldID,
CDOID newID)
|
void |
applyIDMappings()
|
CDORevisionDelta[] |
getDirtyObjectDeltas()
Returns an array of the dirty object deltas that are part of the commit operation represented by this CommitContext . |
CDORevision[] |
getDirtyObjects()
Returns an array of the dirty objects that are part of the commit operation represented by this CommitContext . |
java.util.Map<CDOIDTemp,CDOID> |
getIDMappings()
Returns an unmodifiable map from all temporary IDs (meta or not) to their persistent counter parts. |
CDORevision[] |
getNewObjects()
Returns an array of the new objects that are part of the commit operation represented by this CommitContext . |
CDOPackage[] |
getNewPackages()
Returns an array of the new packages that are part of the commit operation represented by this CommitContext . |
CDOPackageManager |
getPackageManager()
Returns the temporary, transactional package manager associated with the commit operation represented by this CommitContext . |
long |
getTimeStamp()
Returns the time stamp of this commit operation. |
int |
getTransactionID()
Returns the ID of the transactional view ( ITransaction ) which is the scope of the commit operation
represented by this CommitContext . |
Method Detail |
---|
int getTransactionID()
ITransaction
) which is the scope of the commit operation
represented by this CommitContext
.
long getTimeStamp()
CDOPackageManager getPackageManager()
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.
CDOPackage[] getNewPackages()
CommitContext
.
CDORevision[] getNewObjects()
CommitContext
.
CDORevision[] getDirtyObjects()
CommitContext
.
CDORevisionDelta[] getDirtyObjectDeltas()
CommitContext
.
java.util.Map<CDOIDTemp,CDOID> getIDMappings()
void addIDMapping(CDOIDTemp oldID, CDOID newID)
void applyIDMappings()
|
Copyright (c) 2004 - 2008 Eike Stepper, Germany. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |