Package org.eclipse.emf.spi.cdo

# Klasse CDOSessionProtocol.CommitTransactionResult

java.lang.Object
org.eclipse.emf.spi.cdo.CDOSessionProtocol.CommitTransactionResult

Alle implementierten Schnittstellen:
  `CDOBranchPoint`, `CDOBranchProvider`, `CDOTimeProvider`

Umschließende Schnittstelle:
  `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...

Seit:
  3.0
Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Klasse
Beschreibung
`protected static class`
`CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster`
If the meaning of this type isn't clear, there really should be more of a description here...

## Feldübersicht

### Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.common.branch.CDOBranchPoint

`INVALID_DATE, UNSPECIFIED_DATE`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`CommitTransactionResult()`
`CommitTransactionResult(CDOIDProvider idProvider, byte rollbackReason, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs, boolean clearResourcePathCache)`
Veraltet.
As of 4.3
`CommitTransactionResult(CDOIDProvider idProvider, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs)`
Veraltet.
As of 4.2
`CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp)`
Veraltet.
As of 4.2
`CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp, boolean clearResourcePathCache)`
Veraltet.
As of 4.3

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`void`
`addIDMapping(CDOID oldID, CDOID newID)`
`void`
`addNewPermission(CDOID id, CDOPermission permission)`
`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()`
`CDOIDProvider`
`getIDProvider()`
`List<CDOLockDelta>`
`getLockDeltas()`
`List<CDOLockState>`
`getLockStates()`
`CDOProtocol.CommitData`
`getNewCommitData()`
`CDOLockState[]`
`getNewLockStates()`
Veraltet.
As of 4.15 use `getLockDeltas()`.
`Map<CDOID,CDOPermission>`
`getNewPermissions()`
`long`
`getPreviousTimeStamp()`
`CDOReferenceAdjuster`
`getReferenceAdjuster()`
`String`
`getRollbackMessage()`
`byte`
`getRollbackReason()`
`byte`
`getSecurityImpact()`
`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`
`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)`
Veraltet.
As of 4.15 use `setLockStates(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)`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Konstruktordetails

### CommitTransactionResult

public CommitTransactionResult()

Seit:
  4.3

### CommitTransactionResult

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

Seit:
  4.0

### CommitTransactionResult

@Deprecated public CommitTransactionResult(CDOIDProvider idProvider, byte rollbackReason, String rollbackMessage, CDOBranchPoint branchPoint, long previousTimeStamp, List<CDOObjectReference> xRefs, boolean clearResourcePathCache)
Veraltet.
As of 4.3

Seit:
  4.2

### CommitTransactionResult

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

Seit:
  4.0

### CommitTransactionResult

@Deprecated public CommitTransactionResult(CDOIDProvider idProvider, CDOBranchPoint branchPoint, long previousTimeStamp, boolean clearResourcePathCache)
Veraltet.
As of 4.3

Seit:
  4.2

## Methodendetails

### getBranch

public CDOBranch getBranch()
Beschreibung aus Schnittstelle kopiert: `CDOBranchPoint`
Returns the branch of this branch point, or `null` if this branch point is the `base` of the `main branch`.

Angegeben von:
  `getBranch` in Schnittstelle `CDOBranchPoint`
Angegeben von:
  `getBranch` in Schnittstelle `CDOBranchProvider`
Seit:
  3.0

### getTimeStamp

public long getTimeStamp()
Beschreibung aus Schnittstelle kopiert: `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.

Angegeben von:
  `getTimeStamp` in Schnittstelle `CDOBranchPoint`
Angegeben von:
  `getTimeStamp` in Schnittstelle `CDOTimeProvider`

### setBranchPoint

public void setBranchPoint(CDOBranchPoint branchPoint)

Seit:
  4.3

### getPreviousTimeStamp

public long getPreviousTimeStamp()

Seit:
  4.0

### setPreviousTimeStamp

public void setPreviousTimeStamp(long previousTimeStamp)

Seit:
  4.3

### getReferenceAdjuster

public CDOReferenceAdjuster getReferenceAdjuster()

Seit:
  4.0

### setReferenceAdjuster

public void setReferenceAdjuster(CDOReferenceAdjuster referenceAdjuster)

Seit:
  4.0

### getRollbackReason

public byte getRollbackReason()

Seit:
  4.2

### setRollbackReason

public void setRollbackReason(byte rollbackReason)

Seit:
  4.3

### getRollbackMessage

public String getRollbackMessage()

### setRollbackMessage

public void setRollbackMessage(String rollbackMessage)

Seit:
  4.3

### getXRefs

public List<CDOObjectReference> getXRefs()

Seit:
  4.0

### setXRefs

public void setXRefs(List<CDOObjectReference> xRefs)

Seit:
  4.3

### isClearResourcePathCache

public boolean isClearResourcePathCache()

Seit:
  4.2

### setClearResourcePathCache

public void setClearResourcePathCache(boolean clearResourcePathCache)

Seit:
  4.3

### getSecurityImpact

public byte getSecurityImpact()

Seit:
  4.3

### setSecurityImpact

public void setSecurityImpact(byte securityImpact)

Seit:
  4.3

### getIDProvider

public CDOIDProvider getIDProvider()

Seit:
  4.3

### setIDProvider

public void setIDProvider(CDOIDProvider idProvider)

Seit:
  4.3

### getIDMappings

public Map<CDOID,CDOID> getIDMappings()

### addIDMapping

public void addIDMapping(CDOID oldID, CDOID newID)

Seit:
  3.0

### getLockDeltas

public List<CDOLockDelta> getLockDeltas()

Seit:
  4.15

### setLockDeltas

public void setLockDeltas(List<CDOLockDelta> lockDeltas)

Seit:
  4.15

### getLockStates

public List<CDOLockState> getLockStates()

Seit:
  4.15

### setLockStates

public void setLockStates(List<CDOLockState> lockStates)

Seit:
  4.15

### getNewPermissions

public Map<CDOID,CDOPermission> getNewPermissions()

Seit:
  4.3

### addNewPermission

public void addNewPermission(CDOID id, CDOPermission permission)

Seit:
  4.3

### getNewCommitData

public CDOProtocol.CommitData getNewCommitData()

Seit:
  4.8

### setNewCommitData

public void setNewCommitData(CDOProtocol.CommitData newCommitData)

Seit:
  4.8

### createReferenceAdjuster

protected CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster createReferenceAdjuster()

### getNewLockStates

@Deprecated public CDOLockState[] getNewLockStates()
Veraltet.
As of 4.15 use `getLockDeltas()`.

Seit:
  4.1

### setNewLockStates

@Deprecated public void setNewLockStates(CDOLockState[] newLockStates)
Veraltet.
As of 4.15 use `setLockStates(List)`.

Seit:
  4.1