|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceManager
The resource manager is the entry point to the resource tree.
It is managing the resource tree root and it is a container for
other site related services like the properties manager and site controller registry
| Field Summary | |
|---|---|
static java.lang.String |
LOCAL_SCHEME
|
| Method Summary | |
|---|---|
ISiteControllerRegistry |
getControllerRegistry()
Get the controller registry |
IPropertyManager |
getPropertyManager()
Get the property manager |
java.lang.Object |
getResourceProperty(ISiteResource resource,
java.lang.String property)
Get a resource property giving its name This is a shortcut to the IPropertyManager.getProperty(ISiteResource, String) |
IResourceTreeRoot |
getRoot()
The root of all resources owned by this resource manager |
ISiteController |
getSiteController(java.lang.String schema)
Get the controller for the given schema or NullSiteController if none was defined |
ISiteFile |
newFile(ISite site,
java.lang.String path)
|
ISiteFolder |
newFolder(ISite site,
java.lang.String path)
Create a new folder given the owner site and the folder path |
ISite |
newSite(java.lang.String uri)
Create a new site resource given the site URI |
void |
setResourceProperty(ISiteResource resource,
java.lang.String property,
java.lang.Object value)
|
| Methods inherited from interface org.nuxeo.core.resources.model.ISiteService |
|---|
shutdown, startup |
| Field Detail |
|---|
static final java.lang.String LOCAL_SCHEME
| Method Detail |
|---|
IResourceTreeRoot getRoot()
ISite newSite(java.lang.String uri)
uri - the site URI
ISiteFile newFile(ISite site,
java.lang.String path)
site - the owner sitepath - the file path
ISiteFolder newFolder(ISite site,
java.lang.String path)
site - the owner sitepath - the folder path
ISiteController getSiteController(java.lang.String schema)
schema - the URI schema that defines the controlled site type.
ISiteControllerRegistry getControllerRegistry()
IPropertyManager getPropertyManager()
java.lang.Object getResourceProperty(ISiteResource resource,
java.lang.String property)
IPropertyManager.getProperty(ISiteResource, String)
resource - the resourceproperty - the property name
void setResourceProperty(ISiteResource resource,
java.lang.String property,
java.lang.Object value)
resource - property - value -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||