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 java.lang.Object
- implements ResourceType
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.util.Set<java.lang.String> getFacets()
- Specified by:
getFacets
in interface ResourceType
hasFacet
public boolean hasFacet(java.lang.String facet)
- Specified by:
hasFacet
in interface ResourceType
getName
public java.lang.String getName()
- Specified by:
getName
in interface ResourceType
getResourceClass
public java.lang.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(java.lang.String type)
- Specified by:
isDerivedFrom
in interface ResourceType
flushCache
public void flushCache()
- Specified by:
flushCache
in interface ResourceType
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getView
public ScriptFile getView(Module module,
java.lang.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,
java.lang.String name)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.