
public interface InternalCDOBranchManager extends CDOBranchManager, ILifecycle
| Modifier and Type | Interface and Description |
|---|---|
static interface |
InternalCDOBranchManager.BranchLoader
If the meaning of this type isn't clear, there really should be more of a description here...
|
ILifecycle.DeferrableActivationgetBranches, getRepositoryactivate, deactivate, getLifecycleState, isActiveaddListener, getListeners, hasListeners, removeListenervoid setRepository(CDOCommonRepository repository)
InternalCDOBranchManager.BranchLoader getBranchLoader()
void setBranchLoader(InternalCDOBranchManager.BranchLoader branchLoader)
CDOTimeProvider getTimeProvider()
@Deprecated void setTimeProvider(CDOTimeProvider timeProvider)
setRepository(CDOCommonRepository)void initMainBranch(boolean local,
long timestamp)
InternalCDOBranch getMainBranch()
CDOBranchManager
The main branch has the fixed name "MAIN" and the fixed
ID 0 (zero).
getMainBranch in interface CDOBranchManagerInternalCDOBranch getBranch(int branchID)
CDOBranchManager
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.
getBranch in interface CDOBranchManagerInternalCDOBranch getBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp)
InternalCDOBranch getBranch(int id, InternalCDOBranchManager.BranchLoader.BranchInfo branchInfo)
InternalCDOBranch getBranch(String path)
CDOBranchManagergetBranch in interface CDOBranchManagerpath - A concatenation of the names of all branches from the main branch to the
requested branch, separated by slashes ("/" characters). Example:
"MAIN/team1/smith".InternalCDOBranch createBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp)
void handleBranchCreated(InternalCDOBranch branch)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.