|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
If the meaning of this type isn't clear, there really should be more of a description here...
Nested Class Summary | |
---|---|
static interface |
InternalCDOBranchManager.BranchLoader
If the meaning of this type isn't clear, there really should be more of a description here... |
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle |
---|
ILifecycle.DeferrableActivation |
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchManager |
---|
getBranches, getRepository |
Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle |
---|
activate, deactivate, getLifecycleState, isActive |
Methods inherited from interface org.eclipse.net4j.util.event.INotifier |
---|
addListener, getListeners, hasListeners, removeListener |
Method Detail |
---|
void 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 CDOBranchManager
InternalCDOBranch 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 CDOBranchManager
InternalCDOBranch getBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp)
InternalCDOBranch getBranch(int id, InternalCDOBranchManager.BranchLoader.BranchInfo branchInfo)
InternalCDOBranch getBranch(String path)
CDOBranchManager
getBranch
in interface CDOBranchManager
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".InternalCDOBranch createBranch(int id, String name, InternalCDOBranch baseBranch, long baseTimeStamp)
void handleBranchCreated(InternalCDOBranch branch)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |