org.eclipse.emf.cdo.spi.server
Interface InternalCommitContext

All Superinterfaces:
CDORevisionProvider, IStoreAccessor.CommitContext

public interface InternalCommitContext
extends IStoreAccessor.CommitContext

Since:
3.0
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Field Summary
static ProgressDistributable<InternalCommitContext>[] OPS
           
 
Method Summary
 void addIDMapping(CDOID oldID, CDOID newID)
           
 void applyIDMappings(OMMonitor monitor)
           
 void commit(OMMonitor monitor)
           
 InternalCDORevision[] getDetachedRevisions()
           
 InternalTransaction getTransaction()
          Returns the transactional view (ITransaction) which is the scope of the commit operation represented by this CommitContext.
 void postCommit(boolean success)
           
 void preWrite()
           
 void rollback(String message)
           
 void setAutoReleaseLocksEnabled(boolean on)
           
 void setCommitComment(String comment)
           
 void setDetachedObjects(CDOID[] detachedObjects)
           
 void setDetachedObjectTypes(Map<CDOID,EClass> detachedObjectTypes)
           
 void setDirtyObjectDeltas(InternalCDORevisionDelta[] dirtyObjectDeltas)
           
 void setLobs(ExtendedDataInputStream in)
           
 void setLocksOnNewObjects(CDOLockState[] locksOnNewObjects)
           
 void setNewObjects(InternalCDORevision[] newObjects)
           
 void setNewPackageUnits(InternalCDOPackageUnit[] newPackageUnits)
           
 void write(OMMonitor monitor)
           
 
Methods inherited from interface org.eclipse.emf.cdo.server.IStoreAccessor.CommitContext
createCommitInfo, getBranchPoint, getCommitComment, getDetachedObjects, getDetachedObjectTypes, getDirtyObjectDeltas, getDirtyObjects, getIDMappings, getLobs, getLocksOnNewObjects, getNewObjects, getNewPackageUnits, getPackageRegistry, getPostCommmitLockStates, getPreviousTimeStamp, getRollbackMessage, getUserID, getXRefs, isAutoReleaseLocksEnabled
 
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionProvider
getRevision
 

Field Detail

OPS

static final ProgressDistributable<InternalCommitContext>[] OPS
Method Detail

getTransaction

InternalTransaction getTransaction()
Description copied from interface: IStoreAccessor.CommitContext
Returns the transactional view (ITransaction) which is the scope of the commit operation represented by this CommitContext.

Specified by:
getTransaction in interface IStoreAccessor.CommitContext

preWrite

void preWrite()

write

void write(OMMonitor monitor)

commit

void commit(OMMonitor monitor)

rollback

void rollback(String message)

postCommit

void postCommit(boolean success)

getDetachedRevisions

InternalCDORevision[] getDetachedRevisions()
Since:
4.0

setNewPackageUnits

void setNewPackageUnits(InternalCDOPackageUnit[] newPackageUnits)

setLocksOnNewObjects

void setLocksOnNewObjects(CDOLockState[] locksOnNewObjects)
Since:
4.1

setNewObjects

void setNewObjects(InternalCDORevision[] newObjects)

setDirtyObjectDeltas

void setDirtyObjectDeltas(InternalCDORevisionDelta[] dirtyObjectDeltas)

setDetachedObjects

void setDetachedObjects(CDOID[] detachedObjects)

setDetachedObjectTypes

void setDetachedObjectTypes(Map<CDOID,EClass> detachedObjectTypes)
Since:
4.0

setAutoReleaseLocksEnabled

void setAutoReleaseLocksEnabled(boolean on)

setCommitComment

void setCommitComment(String comment)

setLobs

void setLobs(ExtendedDataInputStream in)
Since:
4.0

addIDMapping

void addIDMapping(CDOID oldID,
                  CDOID newID)

applyIDMappings

void applyIDMappings(OMMonitor monitor)


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.