Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

Field Detail

ROOT_TYPE_NAME

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

flushCache

void flushCache()

getGuard

Guard getGuard()

getName

String getName()

isDerivedFrom

boolean isDerivedFrom(String type)

getResourceClass

Class<? extends Resource> getResourceClass()

newInstance

<T extends Resource> T newInstance()

getSuperType

ResourceType getSuperType()

getFacets

Set<String> getFacets()

hasFacet

boolean hasFacet(String facet)

getView

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


isEnabled

boolean isEnabled(Resource ctx)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.