|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface IStoreAccessor.CommitContext
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 | |
|---|---|
void |
addIDMapping(CDOIDTemp oldID,
CDOID newID)
|
void |
applyIDMappings(org.eclipse.net4j.util.om.monitor.OMMonitor monitor)
|
CDOID[] |
getDetachedObjects()
Returns an array of the removed object that are part of the commit operation represented by this CommitContext. |
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. |
java.util.Map<CDOIDTemp,CDOID> |
getIDMappings()
Returns an unmodifiable map from all temporary IDs (meta or not) to their persistent counter parts. |
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. |
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()
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.
InternalCDORevision[] getNewObjects()
CommitContext.
InternalCDORevision[] getDirtyObjects()
CommitContext.
InternalCDORevisionDelta[] getDirtyObjectDeltas()
CommitContext.
CDOID[] getDetachedObjects()
CommitContext.
java.util.Map<CDOIDTemp,CDOID> getIDMappings()
void addIDMapping(CDOIDTemp oldID,
CDOID newID)
void applyIDMappings(org.eclipse.net4j.util.om.monitor.OMMonitor monitor)
|
Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||