Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.model.impl
Class AdapterTypeImpl

java.lang.Object
  extended by org.nuxeo.ecm.webengine.model.impl.AbstractResourceType
      extended by org.nuxeo.ecm.webengine.model.impl.AdapterTypeImpl
All Implemented Interfaces:
AdapterType, ResourceType

public class AdapterTypeImpl
extends AbstractResourceType
implements AdapterType

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.webengine.model.ResourceType
ROOT_TYPE_NAME
 
Constructor Summary
AdapterTypeImpl(WebEngine engine, ModuleImpl module, ResourceTypeImpl superType, String name, String adapterName, ClassProxy clazz, int visibility)
           
 
Method Summary
 boolean acceptResource(Resource resource)
           
 boolean acceptType(ResourceType type)
           
 String getAdapterName()
           
 String[] getTargetFacets()
           
 String getTargetType()
           
 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResourceType
findView, flushCache, getFacets, getGuard, getName, getOwnerModule, getResourceClass, getSuperType, getView, getVisibility, hasFacet, isDerivedFrom, isEnabled, newInstance, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.webengine.model.ResourceType
flushCache, getFacets, getGuard, getName, getResourceClass, getSuperType, getView, hasFacet, isDerivedFrom, isEnabled, newInstance
 

Constructor Detail

AdapterTypeImpl

public AdapterTypeImpl(WebEngine engine,
                       ModuleImpl module,
                       ResourceTypeImpl superType,
                       String name,
                       String adapterName,
                       ClassProxy clazz,
                       int visibility)
Method Detail

getAdapterName

public String getAdapterName()
Specified by:
getAdapterName in interface AdapterType

getTargetType

public String getTargetType()
Specified by:
getTargetType in interface AdapterType

getTargetFacets

public String[] getTargetFacets()
Specified by:
getTargetFacets in interface AdapterType

acceptResource

public boolean acceptResource(Resource resource)
Specified by:
acceptResource in interface AdapterType

acceptType

public boolean acceptType(ResourceType type)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.