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(Class<T> typeof,
WebContext context) |
static final String ROOT_TYPE_NAME
void flushCache()
boolean isDerivedFrom(String type)
Class<? extends Resource> getResourceClass()
<T extends Resource> T newInstance(Class<T> typeof, WebContext context)
ResourceType getSuperType()
ScriptFile getView(Module module, String name)
Copyright © 2018 Nuxeo. All rights reserved.