Package org.nuxeo.ecm.webengine.model
Interface ResourceType
-
- All Known Subinterfaces:
AdapterType,ModuleType
- All Known Implementing Classes:
AbstractResourceType,AdapterTypeImpl,ResourceTypeImpl
public interface ResourceType
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description static StringROOT_TYPE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflushCache()Set<String>getFacets()GuardgetGuard()StringgetName()Class<? extends Resource>getResourceClass()ResourceTypegetSuperType()ScriptFilegetView(Module module, String name)Gets a view for this type in the context of the given module.booleanhasFacet(String facet)booleanisDerivedFrom(String type)booleanisEnabled(Resource ctx)<T extends Resource>
TnewInstance(Class<T> typeof, WebContext context)
-
-
-
Field Detail
-
ROOT_TYPE_NAME
static final String ROOT_TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
flushCache
void flushCache()
-
isDerivedFrom
boolean isDerivedFrom(String type)
-
getResourceClass
Class<? extends Resource> getResourceClass()
-
newInstance
<T extends Resource> T newInstance(Class<T> typeof, WebContext context)
-
getSuperType
ResourceType getSuperType()
-
getView
ScriptFile getView(Module module, String name)
Gets a view for this type in the context of the given module.
-
-