org.eclipse.emf.spi.cdo
Class CDOSessionProtocol.CommitTransactionResult

java.lang.Object
  extended by org.eclipse.emf.spi.cdo.CDOSessionProtocol.CommitTransactionResult
All Implemented Interfaces:
CDOBranchPoint
Enclosing interface:
CDOSessionProtocol

public static final class CDOSessionProtocol.CommitTransactionResult
extends Object
implements CDOBranchPoint

Since:
3.0

Nested Class Summary
protected static class CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster
           
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
 
Constructor Summary
CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp)
           
CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs)
           
 
Method Summary
 void addIDMapping(CDOID oldID, CDOID newID)
           
protected  CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster createReferenceAdjuster()
           
 CDOBranch getBranch()
          Returns the branch of this branch point, or null if this branch point is the base of the main branch.
 Map<CDOID,CDOID> getIDMappings()
           
 CDOLockState[] getNewLockStates()
           
 long getPreviousTimeStamp()
           
 CDOReferenceAdjuster getReferenceAdjuster()
           
 String getRollbackMessage()
           
 long getTimeStamp()
          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.
 List<CDOObjectReference> getXRefs()
           
 void setNewLockStates(CDOLockState[] newLockStates)
           
 void setReferenceAdjuster(CDOReferenceAdjuster referenceAdjuster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDOSessionProtocol.CommitTransactionResult

public CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider,
                                                  String rollbackMessage,
                                                  CDOBranchPoint branchPoint,
                                                  long previousTimeStamp,
                                                  List<CDOObjectReference> xRefs)
Since:
4.0

CDOSessionProtocol.CommitTransactionResult

public CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider,
                                                  CDOBranchPoint branchPoint,
                                                  long previousTimeStamp)
Since:
4.0
Method Detail

getReferenceAdjuster

public CDOReferenceAdjuster getReferenceAdjuster()
Since:
4.0

setReferenceAdjuster

public void setReferenceAdjuster(CDOReferenceAdjuster referenceAdjuster)
Since:
4.0

getRollbackMessage

public String getRollbackMessage()

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

getPreviousTimeStamp

public long getPreviousTimeStamp()
Since:
4.0

getXRefs

public List<CDOObjectReference> getXRefs()
Since:
4.0

getIDMappings

public Map<CDOID,CDOID> getIDMappings()

addIDMapping

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

getNewLockStates

public CDOLockState[] getNewLockStates()
Since:
4.1

createReferenceAdjuster

protected CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster createReferenceAdjuster()

setNewLockStates

public void setNewLockStates(CDOLockState[] newLockStates)
Since:
4.1


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.