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.
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 |
OPS
static final ProgressDistributable<InternalCommitContext>[] OPS
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.