Package org.eclipse.emf.spi.cdo
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
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 3.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classIf 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
ConstructorsConstructorDescriptionCommitTransactionResult(CDOIDProvider idProvider, byte rollbackReason, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs, boolean clearResourcePathCache) Deprecated.As of 4.3CommitTransactionResult(CDOIDProvider idProvider, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs) Deprecated.As of 4.2CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp) Deprecated.As of 4.2CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp, boolean clearResourcePathCache) Deprecated.As of 4.3 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIDMapping(CDOID oldID, CDOID newID) voidaddNewPermission(CDOID id, CDOPermission permission) Returns the branch of this branch point, ornullif this branch point is thebaseof themain branch.Deprecated.As of 4.15 usegetLockDeltas().longbytebytelongReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.getXRefs()booleanvoidsetBranchPoint(CDOBranchPoint branchPoint) voidsetClearResourcePathCache(boolean clearResourcePathCache) voidsetIDProvider(CDOIDProvider idProvider) voidsetLockDeltas(List<CDOLockDelta> lockDeltas) voidsetLockStates(List<CDOLockState> lockStates) voidsetNewCommitData(CDOProtocol.CommitData newCommitData) voidsetNewLockStates(CDOLockState[] newLockStates) Deprecated.As of 4.15 usesetLockStates(List).voidsetPreviousTimeStamp(long previousTimeStamp) voidsetReferenceAdjuster(CDOReferenceAdjuster referenceAdjuster) voidsetRollbackMessage(String rollbackMessage) voidsetRollbackReason(byte rollbackReason) voidsetSecurityImpact(byte securityImpact) voidsetXRefs(List<CDOObjectReference> xRefs)
-
Constructor Details
-
CommitTransactionResult
public CommitTransactionResult()- Since:
- 4.3
-
CommitTransactionResult
@Deprecated public CommitTransactionResult(CDOIDProvider idProvider, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs) Deprecated.As of 4.2- Since:
- 4.0
-
CommitTransactionResult
@Deprecated public CommitTransactionResult(CDOIDProvider idProvider, byte rollbackReason, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs, boolean clearResourcePathCache) Deprecated.As of 4.3- Since:
- 4.2
-
CommitTransactionResult
@Deprecated public CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp) Deprecated.As of 4.2- Since:
- 4.0
-
CommitTransactionResult
@Deprecated public CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp, boolean clearResourcePathCache) Deprecated.As of 4.3- Since:
- 4.2
-
-
Method Details
-
getBranch
Description copied from interface:CDOBranchPointReturns the branch of this branch point, ornullif this branch point is thebaseof themain branch.- Specified by:
getBranchin interfaceCDOBranchPoint- Specified by:
getBranchin interfaceCDOBranchProvider- Since:
- 3.0
-
getTimeStamp
public long getTimeStamp()Description copied from interface:CDOBranchPointReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.- Specified by:
getTimeStampin interfaceCDOBranchPoint- Specified by:
getTimeStampin interfaceCDOTimeProvider
-
setBranchPoint
- Since:
- 4.3
-
getPreviousTimeStamp
public long getPreviousTimeStamp()- Since:
- 4.0
-
setPreviousTimeStamp
public void setPreviousTimeStamp(long previousTimeStamp) - Since:
- 4.3
-
getReferenceAdjuster
- Since:
- 4.0
-
setReferenceAdjuster
- Since:
- 4.0
-
getRollbackReason
public byte getRollbackReason()- Since:
- 4.2
-
setRollbackReason
public void setRollbackReason(byte rollbackReason) - Since:
- 4.3
-
getRollbackMessage
-
setRollbackMessage
- Since:
- 4.3
-
getXRefs
- Since:
- 4.0
-
setXRefs
- 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
- Since:
- 4.3
-
setIDProvider
- Since:
- 4.3
-
getIDMappings
-
addIDMapping
- Since:
- 3.0
-
getLockDeltas
- Since:
- 4.15
-
setLockDeltas
- Since:
- 4.15
-
getLockStates
- Since:
- 4.15
-
setLockStates
- Since:
- 4.15
-
getNewPermissions
- Since:
- 4.3
-
addNewPermission
- Since:
- 4.3
-
getNewCommitData
- Since:
- 4.8
-
setNewCommitData
- Since:
- 4.8
-
createReferenceAdjuster
protected CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster createReferenceAdjuster() -
getNewLockStates
Deprecated.As of 4.15 usegetLockDeltas().- Since:
- 4.1
-
setNewLockStates
Deprecated.As of 4.15 usesetLockStates(List).- Since:
- 4.1
-