org.eclipse.emf.cdo.spi.server

## Interface InternalCommitContext

- All Superinterfaces:
    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...
  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.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ProgressDistributable<InternalCommitContext>[]` | `OPS`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addIDMapping(CDOID oldID, CDOID newID)`
    `void` | `applyIDMappings(OMMonitor monitor)`
    `void` | `commit(OMMonitor monitor)`
    `IStoreAccessor` | `getAccessor()`
    `InternalCDORevision[]` | `getDetachedRevisions()`
    `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)` Deprecated. As of 4.5 no longer supported. See `setIDsToUnlock(CDOID[])`.
    `void` | `setClearResourcePathCache(boolean clearResourcePathCache)`
    `void` | `setCommitComment(String comment)`
    `void` | `setCommitMergeSource(CDOBranchPoint mergeSource)`
    `void` | `setCommitNumber(int commitNumber)`
    `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(ExtendedDataInputStream in)`
    `void` | `setLocksOnNewObjects(CDOLockState[] locksOnNewObjects)`
    `void` | `setNewObjects(InternalCDORevision[] newObjects)`
    `void` | `setNewPackageUnits(InternalCDOPackageUnit[] newPackageUnits)`
    `void` | `setSecurityImpact(byte securityImpact, Set<? extends Object> impactedRules)`
    `void` | `setUsingEcore(boolean usingEcore)`
    `void` | `setUsingEtypes(boolean usingEtypes)`
    `void` | `write(OMMonitor monitor)`

    - ### Methods inherited from interface org.eclipse.emf.cdo.server.IStoreAccessor.CommitContext

      `createCommitInfo, getBranchPoint, getCommitComment, getCommitMergeSource, getData, getDetachedObjects, getDetachedObjectTypes, getDetachedObjectVersions, getDirtyObjectDeltas, getDirtyObjects, getIDMappings, getIDsToUnlock, getLastUpdateTime, getLobs, getLocksOnNewObjects, getNewObjects, getNewPackageUnits, getPackageRegistry, getPostCommmitLockStates, getPreviousTimeStamp, getRollbackMessage, getRollbackReason, getSecurityImpact, getUserID, getXRefs, isAutoReleaseLocksEnabled, isClearResourcePathCache, isUsingEcore, isUsingEtypes, setData`

    - ### 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`

    - #### getAccessor

          IStoreAccessor getAccessor()

      Since:
        4.5

    - #### getTimeStamp

          long getTimeStamp()

      Specified by:
        `getTimeStamp` in interface `CDOTimeProvider`
      Since:
        4.2

    - #### isTreeRestructuring

          boolean isTreeRestructuring()

      Since:
        4.5

    - #### setLastTreeRestructuringCommit

          void setLastTreeRestructuringCommit(long lastTreeRestructuringCommit)

      Since:
        4.2

    - #### 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

    - #### 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

          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)

      Since:
        4.0

    - #### setDetachedObjectVersions

          void setDetachedObjectVersions(CDOBranchVersion[] detachedObjectVersions)

      Since:
        4.2

    - #### setLastUpdateTime

          void setLastUpdateTime(long lastUpdateTime)

      Since:
        4.2

    - #### setAutoReleaseLocksEnabled

          @Deprecated
          void setAutoReleaseLocksEnabled(boolean on)

      Deprecated. As of 4.5 no longer supported. See `setIDsToUnlock(CDOID[])`.

    - #### setLocksOnNewObjects

          void setLocksOnNewObjects(CDOLockState[] locksOnNewObjects)

      Since:
        4.1

    - #### setIDsToUnlock

          void setIDsToUnlock(CDOID[] idsToUnlock)

      Since:
        4.6

    - #### setCommitNumber

          void setCommitNumber(int commitNumber)

      Since:
        4.5

    - #### setCommitComment

          void setCommitComment(String comment)

    - #### setCommitMergeSource

          void setCommitMergeSource(CDOBranchPoint mergeSource)

      Since:
        4.6

    - #### setLobs

          void setLobs(ExtendedDataInputStream in)

      Since:
        4.0

    - #### addIDMapping

          void addIDMapping(CDOID oldID,
                            CDOID newID)

    - #### applyIDMappings

          void applyIDMappings(OMMonitor monitor)

    - #### setSecurityImpact

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

      Since:
        4.3

Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html