public interface ResourceType
Modifier and Type | Field and Description |
---|---|
static String |
ROOT_TYPE_NAME |
Modifier and Type | Method and Description |
---|---|
void |
flushCache() |
Set<String> |
getFacets() |
Guard |
getGuard() |
String |
getName() |
Class<? extends Resource> |
getResourceClass() |
ResourceType |
getSuperType() |
ScriptFile |
getView(Module module,
String name)
Gets a view for this type in the context of the given module.
|
boolean |
hasFacet(String facet) |
boolean |
isDerivedFrom(String type) |
boolean |
isEnabled(Resource ctx) |
<T extends Resource> |
newInstance() |
static final String ROOT_TYPE_NAME
void flushCache()
Guard getGuard()
String getName()
boolean isDerivedFrom(String type)
<T extends Resource> T newInstance()
ResourceType getSuperType()
boolean hasFacet(String facet)
ScriptFile getView(Module module, String name)
boolean isEnabled(Resource ctx)
Copyright © 2013 Nuxeo SA. All Rights Reserved.