|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceTreeRoot
The root of the Apogee resource tree. The root is a site container. It cannot contains other resources than sites. The root is managed by the IResourceManager.
IResourceManager.getRoot()| Field Summary |
|---|
| Fields inherited from interface org.nuxeo.core.resources.model.IContainer |
|---|
EMPTY_CHILDREN |
| Method Summary | |
|---|---|
void |
addSite(ISite site)
Add this site to the container |
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 interface org.nuxeo.core.resources.model.IContainer |
|---|
children, findChild |
| Method Detail |
|---|
ISite[] findSites()
ISite findSite(java.lang.String uri)
uri - the site URI
ISite findContainerSite(java.lang.String uri)
uri - the resource URI
void addSite(ISite site)
site - void removeSite(ISite site)
site - ISite getSite(java.lang.String uri)
uri - the site URI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||