org.nuxeo.ecm.webengine.model.impl
Class TypeRegistry
java.lang.Object
org.nuxeo.runtime.contribution.impl.AbstractContributionRegistry<String,TypeDescriptor>
org.nuxeo.ecm.webengine.model.impl.TypeRegistry
- All Implemented Interfaces:
- ContributionRegistry<String,TypeDescriptor>
public class TypeRegistry
- extends AbstractContributionRegistry<String,TypeDescriptor>
- Author:
- Bogdan Stefanescu
Methods inherited from class org.nuxeo.runtime.contribution.impl.AbstractContributionRegistry |
addFragment, dispose, fireResolved, fireUnresolved, fireUpdated, getContribution, getObject, getOrCreateDependency, getParent, removeContribution, removeFragment |
TypeRegistry
public TypeRegistry(TypeRegistry parent,
WebEngine engine,
ModuleImpl module)
TypeRegistry
public TypeRegistry(WebEngine engine,
ModuleImpl module)
getRootType
public ResourceType getRootType()
getModule
public ModuleImpl getModule()
getType
public ResourceType getType(String name)
getAdapter
public AdapterType getAdapter(String name)
getAdapter
public AdapterType getAdapter(Resource target,
String name)
getAdapters
public List<AdapterType> getAdapters(Resource resource)
getAdapterNames
public List<String> getAdapterNames(Resource resource)
getEnabledAdapters
public List<AdapterType> getEnabledAdapters(Resource resource)
getEnabledAdapterNames
public List<String> getEnabledAdapterNames(Resource resource)
getTypes
public ResourceType[] getTypes()
getAdapters
public AdapterType[] getAdapters()
registerTypeDescriptor
public void registerTypeDescriptor(TypeDescriptor td)
registerType
public void registerType(TypeDescriptor td)
registerAdapter
public void registerAdapter(AdapterDescriptor td)
unregisterType
public void unregisterType(TypeDescriptor td)
unregisterAdapter
public void unregisterAdapter(TypeDescriptor td)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.