Package org.eclipse.emf.cdo.spi.common.branch

# Schnittstelle InternalCDOBranchManager

Alle Superschnittstellen:
  `CDOBranchManager`, `org.eclipse.net4j.util.lifecycle.IDeactivateable`, `org.eclipse.net4j.util.lifecycle.ILifecycle`, `org.eclipse.net4j.util.event.INotifier`

public interface InternalCDOBranchManager extends CDOBranchManager, org.eclipse.net4j.util.lifecycle.ILifecycle
If the meaning of this type isn't clear, there really should be more of a description here...

Seit:
  3.0
Autor:
  Eike Stepper
No Implement
  This interface is not intended to be implemented by clients.
No Extend
  This interface is not intended to be extended by clients.

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Schnittstelle
Beschreibung
`static interface`
`InternalCDOBranchManager.BranchLoader`
If the meaning of this type isn't clear, there really should be more of a description here...
`static interface`
`InternalCDOBranchManager.BranchLoader2`
If the meaning of this type isn't clear, there really should be more of a description here...
`static interface`
`InternalCDOBranchManager.BranchLoader3`
If the meaning of this type isn't clear, there really should be more of a description here...
`static interface`
`InternalCDOBranchManager.BranchLoader4`
If the meaning of this type isn't clear, there really should be more of a description here...
`static interface`
`InternalCDOBranchManager.BranchLoader5`
If the meaning of this type isn't clear, there really should be more of a description here...
`static enum`
`InternalCDOBranchManager.TagChangeKind`
Enumerates the possible kinds of changes to a `branch tag`.

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.common.branch.CDOBranchManager

`CDOBranchManager.CDOTagList, CDOBranchManager.EventAdapter`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.lifecycle.ILifecycle

`org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier

`org.eclipse.net4j.util.event.INotifier.INotifier2`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`CDOBranchPoint`
`changeTagWithModCount(AtomicInteger modCount, String oldName, String newName, CDOBranchPoint branchPoint)`
`InternalCDOBranch`
`createBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp)`
`CDOBranch[]`
`deleteBranches(int id, org.eclipse.net4j.util.om.monitor.OMMonitor monitor)`
`void`
`deleteTag(CDOBranchTag tag)`
`InternalCDOBranch`
`getBranch(int branchID)`
Returns the branch with the given unique integer ID.
`InternalCDOBranch`
`getBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp)`
`InternalCDOBranch`
`getBranch(int id, InternalCDOBranchManager.BranchLoader.BranchInfo branchInfo)`
`InternalCDOBranch`
`getBranch(String path)`
Returns the branch with the given absolute path.
`InternalCDOBranchManager.BranchLoader`
`getBranchLoader()`
`InternalCDOBranch`
`getMainBranch()`
Returns the main branch of the branch tree managed by this branch manager.
`static InternalCDOBranchManager.TagChangeKind`
`getTagChangeKind(String oldName, String newName, CDOBranchPoint branchPoint)`
`int`
`getTagModCount()`
`CDOTimeProvider`
`getTimeProvider()`
`void`
`handleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind)`
Veraltet.
As of 4.15 use `handleBranchChanged(InternalCDOBranch, ChangeKind, int...)`.
`void`
`handleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind, int... branchIDs)`
`void`
`handleBranchCreated(InternalCDOBranch branch)`
Veraltet.
As of 4.3 use `handleBranchChanged(InternalCDOBranch, ChangeKind)`.
`void`
`handleTagChanged(int modCount, String oldName, String newName, CDOBranchPoint branchPoint)`
`void`
`initMainBranch(boolean local, long timestamp)`
`void`
`moveTag(CDOBranchTag tag, CDOBranchPoint branchPoint)`
`void`
`renameBranch(CDOBranch branch, String newName)`
Veraltet.
As of 4.4 use `CDOBranch.setName(String)`.
`void`
`renameTag(String oldName, String newName)`
`void`
`setBranchLoader(InternalCDOBranchManager.BranchLoader branchLoader)`
`void`
`setRepository(CDOCommonRepository repository)`
`void`
`setTagModCount(int tagModCount)`
`void`
`setTimeProvider(CDOTimeProvider timeProvider)`
Veraltet.
As of 4.2 replaced by `setRepository(CDOCommonRepository)`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.branch.CDOBranchManager

`createTag, getBranches, getBranches, getRepository, getTag, getTagList`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.lifecycle.ILifecycle

`activate, deactivate, getLifecycleState, isActive`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier

`addListener, getListeners, hasListeners, removeListener`

## Methodendetails

### setRepository

void setRepository(CDOCommonRepository repository)

Seit:
  4.2

### getBranchLoader

InternalCDOBranchManager.BranchLoader getBranchLoader()

### setBranchLoader

void setBranchLoader(InternalCDOBranchManager.BranchLoader branchLoader)

### getTimeProvider

CDOTimeProvider getTimeProvider()

### setTimeProvider

@Deprecated void setTimeProvider(CDOTimeProvider timeProvider)
Veraltet.
As of 4.2 replaced by `setRepository(CDOCommonRepository)`

### initMainBranch

void initMainBranch(boolean local, long timestamp)

Seit:
  4.0

### getMainBranch

InternalCDOBranch getMainBranch()
Beschreibung aus Schnittstelle kopiert: `CDOBranchManager`
Returns the main branch of the branch tree managed by this branch manager.

The main branch has the fixed `name` "MAIN" and the fixed `ID` 0 (zero).

Angegeben von:
  `getMainBranch` in Schnittstelle `CDOBranchManager`

### getBranch

InternalCDOBranch getBranch(int branchID)
Beschreibung aus Schnittstelle kopiert: `CDOBranchManager`
Returns the branch with the given unique integer ID.

Note that this method never returns `null`. Due to the lazy loading nature of branch managers this method returns a transparent branch proxy if the branch is not already loaded in the internal branch cache. This can result in unchecked exceptions being thrown from calls to arbitrary branch methods if the ID that the proxy was created with does not exist in the branch tree.

Angegeben von:
  `getBranch` in Schnittstelle `CDOBranchManager`

### getBranch

InternalCDOBranch getBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp)

### getBranch

InternalCDOBranch getBranch(int id, InternalCDOBranchManager.BranchLoader.BranchInfo branchInfo)

### getBranch

InternalCDOBranch getBranch(String path)
Beschreibung aus Schnittstelle kopiert: `CDOBranchManager`
Returns the branch with the given absolute path.

Angegeben von:
  `getBranch` in Schnittstelle `CDOBranchManager`
Parameter:
  `path` - A concatenation of the names of all branches from the `main branch` to the requested branch, separated by `slashes` ("/" characters). Example: "MAIN/team1/smith".

### createBranch

InternalCDOBranch createBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp) throws CDODuplicateBranchException

Löst aus:
  `CDODuplicateBranchException`

### deleteBranches

CDOBranch[] deleteBranches(int id, org.eclipse.net4j.util.om.monitor.OMMonitor monitor)

Seit:
  4.15

### renameBranch

@Deprecated void renameBranch(CDOBranch branch, String newName)
Veraltet.
As of 4.4 use `CDOBranch.setName(String)`.

Seit:
  4.3

### handleBranchCreated

@Deprecated void handleBranchCreated(InternalCDOBranch branch)
Veraltet.
As of 4.3 use `handleBranchChanged(InternalCDOBranch, ChangeKind)`.

### handleBranchChanged

@Deprecated void handleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind)
Veraltet.
As of 4.15 use `handleBranchChanged(InternalCDOBranch, ChangeKind, int...)`.

Seit:
  4.3

### handleBranchChanged

void handleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind, int... branchIDs)

Seit:
  4.15

### getTagModCount

int getTagModCount()

Seit:
  4.11

### setTagModCount

void setTagModCount(int tagModCount)

Seit:
  4.11

### renameTag

void renameTag(String oldName, String newName)

Seit:
  4.11

### moveTag

void moveTag(CDOBranchTag tag, CDOBranchPoint branchPoint)

Seit:
  4.11

### deleteTag

void deleteTag(CDOBranchTag tag)

Seit:
  4.11

### changeTagWithModCount

CDOBranchPoint changeTagWithModCount(AtomicInteger modCount, String oldName, String newName, CDOBranchPoint branchPoint)

Seit:
  4.11

### handleTagChanged

void handleTagChanged(int modCount, String oldName, String newName, CDOBranchPoint branchPoint)

Seit:
  4.11

### getTagChangeKind

static InternalCDOBranchManager.TagChangeKind getTagChangeKind(String oldName, String newName, CDOBranchPoint branchPoint)

Seit:
  4.11