Interface InternalCDOBranchManager
-
- All Superinterfaces:
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...- Since:
- 3.0
- Author:
- 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceInternalCDOBranchManager.BranchLoaderIf the meaning of this type isn't clear, there really should be more of a description here...static interfaceInternalCDOBranchManager.BranchLoader2If the meaning of this type isn't clear, there really should be more of a description here...static interfaceInternalCDOBranchManager.BranchLoader3If the meaning of this type isn't clear, there really should be more of a description here...static interfaceInternalCDOBranchManager.BranchLoader4If the meaning of this type isn't clear, there really should be more of a description here...static classInternalCDOBranchManager.TagChangeKind-
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchManager
CDOBranchManager.CDOTagList
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CDOBranchPointchangeTagWithModCount(java.util.concurrent.atomic.AtomicInteger modCount, java.lang.String oldName, java.lang.String newName, CDOBranchPoint branchPoint)InternalCDOBranchcreateBranch(int id, java.lang.String name, InternalCDOBranch baseBranch, long baseTimeStamp)voiddeleteTag(CDOBranchTag tag)InternalCDOBranchgetBranch(int branchID)Returns the branch with the given unique integer ID.InternalCDOBranchgetBranch(int id, java.lang.String name, InternalCDOBranch baseBranch, long baseTimeStamp)InternalCDOBranchgetBranch(int id, InternalCDOBranchManager.BranchLoader.BranchInfo branchInfo)InternalCDOBranchgetBranch(java.lang.String path)Returns the branch with the given absolute path.InternalCDOBranchManager.BranchLoadergetBranchLoader()InternalCDOBranchgetMainBranch()Returns the main branch of the branch tree managed by this branch manager.static InternalCDOBranchManager.TagChangeKindgetTagChangeKind(java.lang.String oldName, java.lang.String newName, CDOBranchPoint branchPoint)intgetTagModCount()CDOTimeProvidergetTimeProvider()voidhandleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind)voidhandleBranchCreated(InternalCDOBranch branch)Deprecated.As of 4.3 usehandleBranchChanged(InternalCDOBranch, ChangeKind).voidhandleTagChanged(int modCount, java.lang.String oldName, java.lang.String newName, CDOBranchPoint branchPoint)voidinitMainBranch(boolean local, long timestamp)voidmoveTag(CDOBranchTag tag, CDOBranchPoint branchPoint)voidrenameBranch(CDOBranch branch, java.lang.String newName)Deprecated.as of 4.4 useCDOBranch.setName(String).voidrenameTag(java.lang.String oldName, java.lang.String newName)voidsetBranchLoader(InternalCDOBranchManager.BranchLoader branchLoader)voidsetRepository(CDOCommonRepository repository)voidsetTagModCount(int tagModCount)voidsetTimeProvider(CDOTimeProvider timeProvider)Deprecated.As of 4.2 replaced bysetRepository(CDOCommonRepository)-
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchManager
createTag, getBranches, getRepository, getTag, getTagList
-
-
-
-
Method Detail
-
setRepository
void setRepository(CDOCommonRepository repository)
- Since:
- 4.2
-
getBranchLoader
InternalCDOBranchManager.BranchLoader getBranchLoader()
-
setBranchLoader
void setBranchLoader(InternalCDOBranchManager.BranchLoader branchLoader)
-
getTimeProvider
CDOTimeProvider getTimeProvider()
-
setTimeProvider
@Deprecated void setTimeProvider(CDOTimeProvider timeProvider)
Deprecated.As of 4.2 replaced bysetRepository(CDOCommonRepository)
-
initMainBranch
void initMainBranch(boolean local, long timestamp)- Since:
- 4.0
-
getMainBranch
InternalCDOBranch getMainBranch()
Description copied from interface:CDOBranchManagerReturns the main branch of the branch tree managed by this branch manager.The main branch has the fixed
name"MAIN" and the fixedID0 (zero).- Specified by:
getMainBranchin interfaceCDOBranchManager
-
getBranch
InternalCDOBranch getBranch(int branchID)
Description copied from interface:CDOBranchManagerReturns 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.- Specified by:
getBranchin interfaceCDOBranchManager
-
getBranch
InternalCDOBranch getBranch(int id, java.lang.String name, InternalCDOBranch baseBranch, long baseTimeStamp)
-
getBranch
InternalCDOBranch getBranch(int id, InternalCDOBranchManager.BranchLoader.BranchInfo branchInfo)
-
getBranch
InternalCDOBranch getBranch(java.lang.String path)
Description copied from interface:CDOBranchManagerReturns the branch with the given absolute path.- Specified by:
getBranchin interfaceCDOBranchManager- Parameters:
path- A concatenation of the names of all branches from themain branchto the requested branch, separated byslashes("/" characters). Example: "MAIN/team1/smith".
-
createBranch
InternalCDOBranch createBranch(int id, java.lang.String name, InternalCDOBranch baseBranch, long baseTimeStamp)
-
renameBranch
@Deprecated void renameBranch(CDOBranch branch, java.lang.String newName)
Deprecated.as of 4.4 useCDOBranch.setName(String).- Since:
- 4.3
-
handleBranchCreated
@Deprecated void handleBranchCreated(InternalCDOBranch branch)
Deprecated.As of 4.3 usehandleBranchChanged(InternalCDOBranch, ChangeKind).
-
handleBranchChanged
void handleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind)
- Since:
- 4.3
-
getTagModCount
int getTagModCount()
- Since:
- 4.11
-
setTagModCount
void setTagModCount(int tagModCount)
- Since:
- 4.11
-
renameTag
void renameTag(java.lang.String oldName, java.lang.String newName)- Since:
- 4.11
-
moveTag
void moveTag(CDOBranchTag tag, CDOBranchPoint branchPoint)
- Since:
- 4.11
-
deleteTag
void deleteTag(CDOBranchTag tag)
- Since:
- 4.11
-
changeTagWithModCount
CDOBranchPoint changeTagWithModCount(java.util.concurrent.atomic.AtomicInteger modCount, java.lang.String oldName, java.lang.String newName, CDOBranchPoint branchPoint)
- Since:
- 4.11
-
handleTagChanged
void handleTagChanged(int modCount, java.lang.String oldName, java.lang.String newName, CDOBranchPoint branchPoint)- Since:
- 4.11
-
getTagChangeKind
static InternalCDOBranchManager.TagChangeKind getTagChangeKind(java.lang.String oldName, java.lang.String newName, CDOBranchPoint branchPoint)
- Since:
- 4.11
-
-