Package org.eclipse.emf.cdo.spi.server

# Schnittstelle InternalCommitContext

Alle Superschnittstellen:
  `CDORevisionProvider`, `CDOTimeProvider`, `IStoreAccessor.CommitContext`

public interface InternalCommitContext extends IStoreAccessor.CommitContext, CDOTimeProvider
If the meaning of this type isn't clear, there really should be more of a description here...

Seit:
  3.0
Autor:
  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.

## Verschachtelte Klassen - Übersicht

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.server.IStoreAccessor.CommitContext

`IStoreAccessor.CommitContext.ModificationContext`

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`static final org.eclipse.net4j.util.om.monitor.ProgressDistributable<InternalCommitContext>[]`
`OPS`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`void`
`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)`
`IStoreAccessor`
`getAccessor()`
`InternalCDORevision[]`
`getDetachedRevisions()`
`InternalCDORevision[]`
`getDetachedRevisions(boolean check)`
`long`
`getTimeStamp()`
`InternalTransaction`
`getTransaction()`
Returns the transactional view (`ITransaction`) which is the scope of the commit operation represented by this `CommitContext`.
`boolean`
`isTreeRestructuring()`
`void`
`postCommit(boolean success)`
`void`
`preWrite()`
`void`
`rollback(String message)`
`void`
`setAutoReleaseLocksEnabled(boolean on)`
Veraltet.
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)`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDORevisionProvider

`getRevision`

### Von Schnittstelle geerbte Methoden 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`

## Felddetails

### OPS

static final org.eclipse.net4j.util.om.monitor.ProgressDistributable<InternalCommitContext>[] OPS

## Methodendetails

### getTransaction

InternalTransaction getTransaction()
Beschreibung aus Schnittstelle kopiert: `IStoreAccessor.CommitContext`
Returns the transactional view (`ITransaction`) which is the scope of the commit operation represented by this `CommitContext`.

Angegeben von:
  `getTransaction` in Schnittstelle `IStoreAccessor.CommitContext`

### getAccessor

IStoreAccessor getAccessor()

Seit:
  4.5

### getTimeStamp

long getTimeStamp()

Angegeben von:
  `getTimeStamp` in Schnittstelle `CDOTimeProvider`
Seit:
  4.2

### isTreeRestructuring

boolean isTreeRestructuring()

Seit:
  4.5

### setLastTreeRestructuringCommit

void setLastTreeRestructuringCommit(long lastTreeRestructuringCommit)

Seit:
  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

void rollback(String message)

### postCommit

void postCommit(boolean success)

### getDetachedRevisions

InternalCDORevision[] getDetachedRevisions()

Seit:
  4.0

### getDetachedRevisions

InternalCDORevision[] getDetachedRevisions(boolean check)

Seit:
  4.6

### setClearResourcePathCache

void setClearResourcePathCache(boolean clearResourcePathCache)

Seit:
  4.2

### setUsingEcore

void setUsingEcore(boolean usingEcore)

Seit:
  4.2

### setUsingEtypes

void setUsingEtypes(boolean usingEtypes)

Seit:
  4.2

### setNewPackageUnits

void setNewPackageUnits(InternalCDOPackageUnit[] newPackageUnits)

### setNewObjects

void setNewObjects(InternalCDORevision[] newObjects)

### setDirtyObjectDeltas

void setDirtyObjectDeltas(InternalCDORevisionDelta[] dirtyObjectDeltas)

### setDetachedObjects

void setDetachedObjects(CDOID[] detachedObjects)

### setDetachedObjectTypes

void setDetachedObjectTypes(Map<CDOID,EClass> detachedObjectTypes)

Seit:
  4.0

### setDetachedObjectVersions

void setDetachedObjectVersions(CDOBranchVersion[] detachedObjectVersions)

Seit:
  4.2

### setLastUpdateTime

void setLastUpdateTime(long lastUpdateTime)

Seit:
  4.2

### setOptimisticLockingTimeout

void setOptimisticLockingTimeout(long optimisticLockingTimeout)

Seit:
  4.15

### setLocksOnNewObjects

void setLocksOnNewObjects(CDOLockState[] locksOnNewObjects)

Seit:
  4.1

### setIDsToUnlock

void setIDsToUnlock(CDOID[] idsToUnlock)

Seit:
  4.6

### setCommitNumber

void setCommitNumber(int commitNumber)

Seit:
  4.5

### setCommitComment

void setCommitComment(String comment)

### setCommitProperties

void setCommitProperties(Map<String,String> properties)

Seit:
  4.21

### setCommitMergeSource

void setCommitMergeSource(CDOBranchPoint mergeSource)

Seit:
  4.6

### setLobs

void setLobs(org.eclipse.net4j.util.io.ExtendedDataInputStream in)

Seit:
  4.0

### addIDMapping

void addIDMapping(CDOID oldID, CDOID newID)

### applyIDMappings

void applyIDMappings(org.eclipse.net4j.util.om.monitor.OMMonitor monitor)

### setSecurityImpact

void setSecurityImpact(byte securityImpact, Set<? extends Object> impactedRules)

Seit:
  4.3

### setAutoReleaseLocksEnabled

@Deprecated void setAutoReleaseLocksEnabled(boolean on)
Veraltet.
As of 4.5 no longer supported. See `setIDsToUnlock(CDOID[])`.