Class CDOSessionProtocol.CommitTransactionResult

java.lang.Object
org.eclipse.emf.spi.cdo.CDOSessionProtocol.CommitTransactionResult
All Implemented Interfaces:
CDOBranchPoint, CDOBranchProvider, CDOTimeProvider
Enclosing interface:
CDOSessionProtocol

public static final class CDOSessionProtocol.CommitTransactionResult extends Object implements CDOBranchPoint
Returns the commit outcome to the client, including the commit point and the information needed to reconcile the transaction's objects and commit metadata with the repository's accepted commit.
Since:
3.0
Author:
Eike Stepper
  • Constructor Details

  • Method Details

    • getBranch

      public CDOBranch getBranch()
      Description copied from interface: CDOBranchPoint
      Returns the branch of this branch point, or null if this branch point is the base of the main branch.
      Specified by:
      getBranch in interface CDOBranchPoint
      Specified by:
      getBranch in interface CDOBranchProvider
      Since:
      3.0
    • getTimeStamp

      public long getTimeStamp()
      Description copied from interface: CDOBranchPoint
      Returns the time stamp of this branch point, or the fixed special time stamp unspecified if this branch point marks the head of a branch.
      Specified by:
      getTimeStamp in interface CDOBranchPoint
      Specified by:
      getTimeStamp in interface CDOTimeProvider
    • setBranchPoint

      public void setBranchPoint(CDOBranchPoint branchPoint)
      Since:
      4.3
    • getPreviousTimeStamp

      public long getPreviousTimeStamp()
      Since:
      4.0
    • setPreviousTimeStamp

      public void setPreviousTimeStamp(long previousTimeStamp)
      Since:
      4.3
    • getReferenceAdjuster

      public CDOReferenceAdjuster getReferenceAdjuster()
      Since:
      4.0
    • setReferenceAdjuster

      public void setReferenceAdjuster(CDOReferenceAdjuster referenceAdjuster)
      Since:
      4.0
    • getRollbackReason

      public byte getRollbackReason()
      Since:
      4.2
    • setRollbackReason

      public void setRollbackReason(byte rollbackReason)
      Since:
      4.3
    • getRollbackMessage

      public String getRollbackMessage()
    • setRollbackMessage

      public void setRollbackMessage(String rollbackMessage)
      Since:
      4.3
    • getXRefs

      public List<CDOObjectReference> getXRefs()
      Since:
      4.0
    • setXRefs

      public void setXRefs(List<CDOObjectReference> xRefs)
      Since:
      4.3
    • isClearResourcePathCache

      public boolean isClearResourcePathCache()
      Since:
      4.2
    • setClearResourcePathCache

      public void setClearResourcePathCache(boolean clearResourcePathCache)
      Since:
      4.3
    • getSecurityImpact

      public byte getSecurityImpact()
      Since:
      4.3
    • setSecurityImpact

      public void setSecurityImpact(byte securityImpact)
      Since:
      4.3
    • getIDProvider

      public CDOIDProvider getIDProvider()
      Since:
      4.3
    • setIDProvider

      public void setIDProvider(CDOIDProvider idProvider)
      Since:
      4.3
    • getIDMappings

      public Map<CDOID,CDOID> getIDMappings()
    • addIDMapping

      public void addIDMapping(CDOID oldID, CDOID newID)
      Since:
      3.0
    • getLockDeltas

      public List<CDOLockDelta> getLockDeltas()
      Since:
      4.15
    • setLockDeltas

      public void setLockDeltas(List<CDOLockDelta> lockDeltas)
      Since:
      4.15
    • getLockStates

      public List<CDOLockState> getLockStates()
      Since:
      4.15
    • setLockStates

      public void setLockStates(List<CDOLockState> lockStates)
      Since:
      4.15
    • getLockModCount

      public long getLockModCount()
      Returns the exact per-session sequence number of the commit's lock change, or zero if the commit contains no visible lock change.
      Since:
      4.31
    • setLockModCount

      public void setLockModCount(long lockModCount)
      Sets the exact per-session sequence number of the commit's lock change.
      Since:
      4.31
    • getNewPermissions

      public Map<CDOID,CDOPermission> getNewPermissions()
      Since:
      4.3
    • addNewPermission

      public void addNewPermission(CDOID id, CDOPermission permission)
      Since:
      4.3
    • getNewCommitData

      public CDOProtocol.CommitData getNewCommitData()
      Since:
      4.8
    • setNewCommitData

      public void setNewCommitData(CDOProtocol.CommitData newCommitData)
      Since:
      4.8
    • createReferenceAdjuster

    • getNewLockStates

      @Deprecated public CDOLockState[] getNewLockStates()
      Deprecated.
      As of 4.15 use getLockDeltas().
      Since:
      4.1
    • setNewLockStates

      @Deprecated public void setNewLockStates(CDOLockState[] newLockStates)
      Deprecated.
      As of 4.15 use setLockStates(List).
      Since:
      4.1