org.nuxeo.ecm.webengine.model.impl
Class AbstractResourceType
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResourceType
- All Implemented Interfaces:
- ResourceType
- Direct Known Subclasses:
- AdapterTypeImpl, ResourceTypeImpl
public abstract class AbstractResourceType
- extends Object
- implements ResourceType
- Author:
- Bogdan Stefanescu
getVisibility
public int getVisibility()
getSuperType
public ResourceType getSuperType()
- Specified by:
getSuperType
in interface ResourceType
getOwnerModule
public Module getOwnerModule()
getGuard
public Guard getGuard()
- Specified by:
getGuard
in interface ResourceType
getFacets
public Set<String> getFacets()
- Specified by:
getFacets
in interface ResourceType
hasFacet
public boolean hasFacet(String facet)
- Specified by:
hasFacet
in interface ResourceType
getName
public String getName()
- Specified by:
getName
in interface ResourceType
getResourceClass
public Class<Resource> getResourceClass()
- Specified by:
getResourceClass
in interface ResourceType
newInstance
public <T extends Resource> T newInstance()
- Specified by:
newInstance
in interface ResourceType
isEnabled
public boolean isEnabled(Resource ctx)
- Specified by:
isEnabled
in interface ResourceType
isDerivedFrom
public boolean isDerivedFrom(String type)
- Specified by:
isDerivedFrom
in interface ResourceType
flushCache
public void flushCache()
- Specified by:
flushCache
in interface ResourceType
toString
public String toString()
- Overrides:
toString
in class Object
getView
public ScriptFile getView(Module module,
String name)
- Description copied from interface:
ResourceType
- Gets a view for this type in the context of the given module.
- Specified by:
getView
in interface ResourceType
findView
public ScriptFile findView(Module module,
String name)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.