public abstract class AbstractResourceType extends Object implements ResourceType
ROOT_TYPE_NAME| Modifier and Type | Method and Description |
|---|---|
ScriptFile |
findView(Module module,
String name) |
void |
flushCache() |
Set<String> |
getFacets() |
Guard |
getGuard() |
String |
getName() |
Module |
getOwnerModule() |
Class<Resource> |
getResourceClass() |
ResourceType |
getSuperType() |
ScriptFile |
getView(Module module,
String name)
Gets a view for this type in the context of the given module.
|
int |
getVisibility() |
boolean |
hasFacet(String facet) |
boolean |
isDerivedFrom(String type) |
boolean |
isEnabled(Resource ctx) |
<T extends Resource> |
newInstance() |
String |
toString() |
public int getVisibility()
public ResourceType getSuperType()
getSuperType in interface ResourceTypepublic Module getOwnerModule()
public Guard getGuard()
getGuard in interface ResourceTypepublic Set<String> getFacets()
getFacets in interface ResourceTypepublic boolean hasFacet(String facet)
hasFacet in interface ResourceTypepublic String getName()
getName in interface ResourceTypepublic Class<Resource> getResourceClass()
getResourceClass in interface ResourceTypepublic <T extends Resource> T newInstance()
newInstance in interface ResourceTypepublic boolean isEnabled(Resource ctx)
isEnabled in interface ResourceTypepublic boolean isDerivedFrom(String type)
isDerivedFrom in interface ResourceTypepublic void flushCache()
flushCache in interface ResourceTypepublic ScriptFile getView(Module module, String name)
ResourceTypegetView in interface ResourceTypepublic ScriptFile findView(Module module, String name)
Copyright © 2011 Nuxeo SA. All Rights Reserved.