Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.types
Class TypeRegistry

java.lang.Object
  extended by org.nuxeo.runtime.model.ExtensionRegistry<Type>
      extended by org.nuxeo.ecm.platform.types.TypeRegistry

public class TypeRegistry
extends ExtensionRegistry<Type>


Constructor Summary
TypeRegistry()
           
 
Method Summary
 void addContribution(Type contrib, Extension extension)
           
 void addType(Type type)
           
 Type getType(String id)
           
 Collection<Type> getTypes()
           
 boolean hasType(String id)
           
static Type mergeTypes(Type oldType, Type newType)
           
 void removeContributions()
          Remove all registered contributions.
 Type removeType(String id)
           
 
Methods inherited from class org.nuxeo.runtime.model.ExtensionRegistry
dispose, registerExtension, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeRegistry

public TypeRegistry()
Method Detail

removeContributions

public void removeContributions()
Description copied from class: ExtensionRegistry
Remove all registered contributions. This method will be called by unregisterExtension to reset the registry so that remaining contributions are registered again

Specified by:
removeContributions in class ExtensionRegistry<Type>

addContribution

public void addContribution(Type contrib,
                            Extension extension)
Specified by:
addContribution in class ExtensionRegistry<Type>

addType

public void addType(Type type)

hasType

public boolean hasType(String id)

removeType

public Type removeType(String id)

getTypes

public Collection<Type> getTypes()

getType

public Type getType(String id)

mergeTypes

public static Type mergeTypes(Type oldType,
                              Type newType)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.