Package org.eclipse.emf.cdo.spi.server
Interface InternalCommitContext
- All Superinterfaces:
CDORevisionProvider
,CDOTimeProvider
,IStoreAccessor.CommitContext
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 3.0
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.IStoreAccessor.CommitContext
IStoreAccessor.CommitContext.ModificationContext
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.eclipse.net4j.util.om.monitor.ProgressDistributable<InternalCommitContext>[]
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIDMapping
(CDOID oldID, CDOID newID) void
applyIDMappings
(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) void
commit
(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) getDetachedRevisions
(boolean check) long
Returns the transactional view (ITransaction
) which is the scope of the commit operation represented by thisCommitContext
.boolean
void
postCommit
(boolean success) void
preWrite()
void
void
setAutoReleaseLocksEnabled
(boolean on) Deprecated.As of 4.5 no longer supported.void
setClearResourcePathCache
(boolean clearResourcePathCache) void
setCommitComment
(String comment) void
setCommitMergeSource
(CDOBranchPoint mergeSource) void
setCommitNumber
(int commitNumber) void
setCommitProperties
(Map<String, String> properties) void
setDetachedObjects
(CDOID[] detachedObjects) void
setDetachedObjectTypes
(Map<CDOID, EClass> detachedObjectTypes) void
setDetachedObjectVersions
(CDOBranchVersion[] detachedObjectVersions) void
setDirtyObjectDeltas
(InternalCDORevisionDelta[] dirtyObjectDeltas) void
setIDsToUnlock
(CDOID[] idsToUnlock) void
setLastTreeRestructuringCommit
(long lastTreeRestructuringCommit) void
setLastUpdateTime
(long lastUpdateTime) void
setLobs
(org.eclipse.net4j.util.io.ExtendedDataInputStream in) void
setLocksOnNewObjects
(CDOLockState[] locksOnNewObjects) void
setNewObjects
(InternalCDORevision[] newObjects) void
setNewPackageUnits
(InternalCDOPackageUnit[] newPackageUnits) void
setOptimisticLockingTimeout
(long optimisticLockingTimeout) void
setSecurityImpact
(byte securityImpact, Set<? extends Object> impactedRules) void
setUsingEcore
(boolean usingEcore) void
setUsingEtypes
(boolean usingEtypes) void
write
(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionProvider
getRevision
Methods inherited from interface org.eclipse.emf.cdo.server.IStoreAccessor.CommitContext
createCommitInfo, getBranchPoint, getCommitComment, getCommitMergeSource, getCommitProperties, getData, getDetachedObjects, getDetachedObjectTypes, getDetachedObjectVersions, getDirtyObjectDeltas, getDirtyObjects, getIDMappings, getIDsToUnlock, getLastUpdateTime, getLobs, getLockDeltas, getLocksOnNewObjects, getLockStates, getNewObjects, getNewPackageUnits, getNewRevisions, getOldRevisions, getOriginalCommmitData, getPackageRegistry, getPostCommmitLockStates, getPreviousTimeStamp, getRollbackMessage, getRollbackReason, getSecurityImpact, getUserID, getXRefs, isAutoReleaseLocksEnabled, isClearResourcePathCache, isUsingEcore, isUsingEtypes, modify, setData
-
Field Details
-
OPS
-
-
Method Details
-
getTransaction
InternalTransaction getTransaction()Description copied from interface:IStoreAccessor.CommitContext
Returns the transactional view (ITransaction
) which is the scope of the commit operation represented by thisCommitContext
.- Specified by:
getTransaction
in interfaceIStoreAccessor.CommitContext
-
getAccessor
IStoreAccessor getAccessor()- Since:
- 4.5
-
getTimeStamp
long getTimeStamp()- Specified by:
getTimeStamp
in interfaceCDOTimeProvider
- Since:
- 4.2
-
isTreeRestructuring
boolean isTreeRestructuring()- Since:
- 4.5
-
setLastTreeRestructuringCommit
void setLastTreeRestructuringCommit(long lastTreeRestructuringCommit) - Since:
- 4.2
-
preWrite
void preWrite() -
write
void write(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) -
commit
void commit(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) -
rollback
-
postCommit
void postCommit(boolean success) -
getDetachedRevisions
InternalCDORevision[] getDetachedRevisions()- Since:
- 4.0
-
getDetachedRevisions
- Since:
- 4.6
-
setClearResourcePathCache
void setClearResourcePathCache(boolean clearResourcePathCache) - Since:
- 4.2
-
setUsingEcore
void setUsingEcore(boolean usingEcore) - Since:
- 4.2
-
setUsingEtypes
void setUsingEtypes(boolean usingEtypes) - Since:
- 4.2
-
setNewPackageUnits
-
setNewObjects
-
setDirtyObjectDeltas
-
setDetachedObjects
-
setDetachedObjectTypes
- Since:
- 4.0
-
setDetachedObjectVersions
- Since:
- 4.2
-
setLastUpdateTime
void setLastUpdateTime(long lastUpdateTime) - Since:
- 4.2
-
setOptimisticLockingTimeout
void setOptimisticLockingTimeout(long optimisticLockingTimeout) - Since:
- 4.15
-
setLocksOnNewObjects
- Since:
- 4.1
-
setIDsToUnlock
- Since:
- 4.6
-
setCommitNumber
void setCommitNumber(int commitNumber) - Since:
- 4.5
-
setCommitComment
-
setCommitProperties
- Since:
- 4.21
-
setCommitMergeSource
- Since:
- 4.6
-
setLobs
void setLobs(org.eclipse.net4j.util.io.ExtendedDataInputStream in) - Since:
- 4.0
-
addIDMapping
-
applyIDMappings
void applyIDMappings(org.eclipse.net4j.util.om.monitor.OMMonitor monitor) -
setSecurityImpact
- Since:
- 4.3
-
setAutoReleaseLocksEnabled
Deprecated.As of 4.5 no longer supported. SeesetIDsToUnlock(CDOID[])
.
-