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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceIf the meaning of this type isn't clear, there really should be more of a description here...static interfaceIf the meaning of this type isn't clear, there really should be more of a description here...static interfaceIf the meaning of this type isn't clear, there really should be more of a description here...static interfaceIf the meaning of this type isn't clear, there really should be more of a description here...static interfaceIf the meaning of this type isn't clear, there really should be more of a description here...static enumEnumerates the possible kinds of changes to abranch tag.Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchManager
CDOBranchManager.CDOTagList, CDOBranchManager.EventAdapterNested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivationNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Method Summary
Modifier and TypeMethodDescriptionchangeTagWithModCount(AtomicInteger modCount, String oldName, String newName, CDOBranchPoint branchPoint) createBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp) deleteBranches(int id, org.eclipse.net4j.util.om.monitor.OMMonitor monitor) voiddeleteTag(CDOBranchTag tag) getBranch(int branchID) Returns the branch with the given unique integer ID.getBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp) getBranch(int id, InternalCDOBranchManager.BranchLoader.BranchInfo branchInfo) Returns the branch with the given absolute path.Returns the main branch of the branch tree managed by this branch manager.getTagChangeKind(String oldName, String newName, CDOBranchPoint branchPoint) intvoidhandleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind) Deprecated.voidhandleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind, int... branchIDs) voidhandleBranchCreated(InternalCDOBranch branch) Deprecated.As of 4.3 usehandleBranchChanged(InternalCDOBranch, ChangeKind).voidhandleTagChanged(int modCount, String oldName, String newName, CDOBranchPoint branchPoint) voidinitMainBranch(boolean local, long timestamp) voidmoveTag(CDOBranchTag tag, CDOBranchPoint branchPoint) voidrenameBranch(CDOBranch branch, String newName) Deprecated.As of 4.4 useCDOBranch.setName(String).voidvoidsetBranchLoader(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, getBranches, getRepository, getTag, getTagListMethods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActiveMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
setRepository
- Since:
- 4.2
-
getBranchLoader
InternalCDOBranchManager.BranchLoader getBranchLoader() -
setBranchLoader
-
getTimeProvider
CDOTimeProvider getTimeProvider() -
setTimeProvider
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
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
-
getBranch
-
getBranch
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, String name, InternalCDOBranch baseBranch, long baseTimeStamp) throws CDODuplicateBranchException - Throws:
CDODuplicateBranchException
-
deleteBranches
- Since:
- 4.15
-
renameBranch
Deprecated.As of 4.4 useCDOBranch.setName(String).- Since:
- 4.3
-
handleBranchCreated
Deprecated.As of 4.3 usehandleBranchChanged(InternalCDOBranch, ChangeKind). -
handleBranchChanged
@Deprecated void handleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind) Deprecated.As of 4.15 usehandleBranchChanged(InternalCDOBranch, ChangeKind, int...).- Since:
- 4.3
-
handleBranchChanged
void handleBranchChanged(InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind, int... branchIDs) - Since:
- 4.15
-
getTagModCount
int getTagModCount()- Since:
- 4.11
-
setTagModCount
void setTagModCount(int tagModCount) - Since:
- 4.11
-
renameTag
- Since:
- 4.11
-
moveTag
- Since:
- 4.11
-
deleteTag
- Since:
- 4.11
-
changeTagWithModCount
CDOBranchPoint changeTagWithModCount(AtomicInteger modCount, String oldName, String newName, CDOBranchPoint branchPoint) - Since:
- 4.11
-
handleTagChanged
- Since:
- 4.11
-
getTagChangeKind
static InternalCDOBranchManager.TagChangeKind getTagChangeKind(String oldName, String newName, CDOBranchPoint branchPoint) - Since:
- 4.11
-
handleBranchChanged(InternalCDOBranch, ChangeKind, int...).