|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.core.resources.model.impl.ResourceTreeRoot
public class ResourceTreeRoot
| Field Summary |
|---|
| Fields inherited from interface org.nuxeo.core.resources.model.IContainer |
|---|
EMPTY_CHILDREN |
| Constructor Summary | |
|---|---|
ResourceTreeRoot()
|
|
| Method Summary | |
|---|---|
void |
addSite(ISite site)
Add this site to the container |
ISiteResource[] |
children(org.eclipse.core.runtime.IProgressMonitor monitor)
Get an array with existing children in this container |
ISiteResource |
findChild(java.lang.String path)
Find the child given its relative path to this container The returned child is existing |
ISite |
findContainerSite(java.lang.String uri)
Find the site containing that may contains a resource with the given URI If more than one sites are found the site with the longest URI is returned |
ISite |
findSite(java.lang.String uri)
Find a defined site given the site URI |
ISite[] |
findSites()
Find all defined sites in this container |
ISite |
getSite(java.lang.String uri)
Get a handle for a site having the given URI This is a handle operation so the site handle is returned even if the site is not existing |
void |
removeSite(ISite site)
Remove the site from the container |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceTreeRoot()
| Method Detail |
|---|
public ISite[] findSites()
IResourceTreeRoot
findSites in interface IResourceTreeRootpublic ISite findSite(java.lang.String uri)
IResourceTreeRoot
findSite in interface IResourceTreeRooturi - the site URI
public ISite findContainerSite(java.lang.String uri)
IResourceTreeRoot
findContainerSite in interface IResourceTreeRooturi - the resource URI
public void addSite(ISite site)
IResourceTreeRoot
addSite in interface IResourceTreeRootpublic void removeSite(ISite site)
IResourceTreeRoot
removeSite in interface IResourceTreeRootpublic ISite getSite(java.lang.String uri)
IResourceTreeRoot
getSite in interface IResourceTreeRooturi - the site URI
public ISiteResource findChild(java.lang.String path)
throws org.eclipse.core.runtime.CoreException
IContainer
findChild in interface IContainerpath - the relative path
org.eclipse.core.runtime.CoreException
public ISiteResource[] children(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
IContainer
children in interface IContainermonitor - the progress monitor to use or null if not required
org.eclipse.core.runtime.CoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||