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

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

public static final class CDOSessionProtocol.CommitTransactionResult
extends Object
implements CDOBranchPoint

If the meaning of this type isn't clear, there really should be more of a description here...

Since:
3.0

Nested Class Summary
protected static class CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster
          If the meaning of this type isn't clear, there really should be more of a description here...
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
 
Constructor Summary
CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider, byte rollbackReason, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs, boolean clearResourcePathCache)
           
CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp)
          Deprecated. As of 4.2
CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp, boolean clearResourcePathCache)
           
CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs)
          Deprecated. As of 4.2
 
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()
           
 byte getRollbackReason()
           
 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()
           
 boolean isClearResourcePathCache()
           
 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

@Deprecated
public CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider,
                                                             String rollbackMessage,
                                                             CDOBranchPoint branchPoint,
                                                             long previousTimeStamp,
                                                             List<CDOObjectReference> xRefs)
Deprecated. As of 4.2

Since:
4.0

CDOSessionProtocol.CommitTransactionResult

public CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider,
                                                  byte rollbackReason,
                                                  String rollbackMessage,
                                                  CDOBranchPoint branchPoint,
                                                  long previousTimeStamp,
                                                  List<CDOObjectReference> xRefs,
                                                  boolean clearResourcePathCache)
Since:
4.2

CDOSessionProtocol.CommitTransactionResult

@Deprecated
public CDOSessionProtocol.CommitTransactionResult(CDOIDProvider idProvider,
                                                             CDOBranchPoint branchPoint,
                                                             long previousTimeStamp)
Deprecated. As of 4.2

Since:
4.0

CDOSessionProtocol.CommitTransactionResult

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

getReferenceAdjuster

public CDOReferenceAdjuster getReferenceAdjuster()
Since:
4.0

setReferenceAdjuster

public void setReferenceAdjuster(CDOReferenceAdjuster referenceAdjuster)
Since:
4.0

getRollbackReason

public byte getRollbackReason()
Since:
4.2

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
Specified by:
getTimeStamp in interface CDOTimeProvider

getPreviousTimeStamp

public long getPreviousTimeStamp()
Since:
4.0

getXRefs

public List<CDOObjectReference> getXRefs()
Since:
4.0

isClearResourcePathCache

public boolean isClearResourcePathCache()
Since:
4.2

getIDMappings

public Map<CDOID,CDOID> getIDMappings()

addIDMapping

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

getNewLockStates

public CDOLockState[] getNewLockStates()
Since:
4.1

setNewLockStates

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

createReferenceAdjuster

protected CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster createReferenceAdjuster()


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