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
Modifier and TypeClassDescriptionprotected static class
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
ConstructorDescriptionCommitTransactionResult
(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 TypeMethodDescriptionvoid
addIDMapping
(CDOID oldID, CDOID newID) void
addNewPermission
(CDOID id, CDOPermission permission) Returns the branch of this branch point, ornull
if this branch point is thebase
of themain branch
.Deprecated.As of 4.15 usegetLockDeltas()
.long
byte
byte
long
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.getXRefs()
boolean
void
setBranchPoint
(CDOBranchPoint branchPoint) void
setClearResourcePathCache
(boolean clearResourcePathCache) void
setIDProvider
(CDOIDProvider idProvider) void
setLockDeltas
(List<CDOLockDelta> lockDeltas) void
setLockStates
(List<CDOLockState> lockStates) void
setNewCommitData
(CDOProtocol.CommitData newCommitData) void
setNewLockStates
(CDOLockState[] newLockStates) Deprecated.As of 4.15 usesetLockStates(List)
.void
setPreviousTimeStamp
(long previousTimeStamp) void
setReferenceAdjuster
(CDOReferenceAdjuster referenceAdjuster) void
setRollbackMessage
(String rollbackMessage) void
setRollbackReason
(byte rollbackReason) void
setSecurityImpact
(byte securityImpact) void
setXRefs
(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:CDOBranchPoint
Returns the branch of this branch point, ornull
if this branch point is thebase
of themain branch
.- Specified by:
getBranch
in interfaceCDOBranchPoint
- Specified by:
getBranch
in interfaceCDOBranchProvider
- 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 stampunspecified
if this branch point marks thehead
of a branch.- Specified by:
getTimeStamp
in interfaceCDOBranchPoint
- Specified by:
getTimeStamp
in 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
-