Nuxeo Enterprise Platform 5.4

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
static java.lang.String ROOT_TYPE_NAME
           
 
Method Summary
 void flushCache()
           
 java.util.Set<java.lang.String> getFacets()
           
 Guard getGuard()
           
 java.lang.String getName()
           
 java.lang.Class<? extends Resource> getResourceClass()
           
 ResourceType getSuperType()
           
 ScriptFile getView(Module module, java.lang.String name)
          Gets a view for this type in the context of the given module.
 boolean hasFacet(java.lang.String facet)
           
 boolean isDerivedFrom(java.lang.String type)
           
 boolean isEnabled(Resource ctx)
           
<T extends Resource>
T
newInstance()
           
 

Field Detail

ROOT_TYPE_NAME

static final java.lang.String ROOT_TYPE_NAME
See Also:
Constant Field Values
Method Detail

flushCache

void flushCache()

getGuard

Guard getGuard()

getName

java.lang.String getName()

isDerivedFrom

boolean isDerivedFrom(java.lang.String type)

getResourceClass

java.lang.Class<? extends Resource> getResourceClass()

newInstance

<T extends Resource> T newInstance()

getSuperType

ResourceType getSuperType()

getFacets

java.util.Set<java.lang.String> getFacets()

hasFacet

boolean hasFacet(java.lang.String facet)

getView

ScriptFile getView(Module module,
                   java.lang.String name)
Gets a view for this type in the context of the given module.


isEnabled

boolean isEnabled(Resource ctx)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.