Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.types.ejb
Class TypeManagerBean

java.lang.Object
  extended by org.nuxeo.ecm.platform.types.ejb.TypeManagerBean
All Implemented Interfaces:
TypeManagerLocal, TypeManager

public class TypeManagerBean
extends java.lang.Object
implements TypeManagerLocal


Constructor Summary
TypeManagerBean()
           
 
Method Summary
 java.util.Collection<Type> getAllowedSubTypes(java.lang.String typeName)
           
 java.lang.String[] getSuperTypes(java.lang.String typeName)
          Gets the super type names for the given type.
 Type getType(java.lang.String typeName)
           
 java.util.Collection<Type> getTypes()
           
 boolean hasType(java.lang.String typeName)
           
 void initialize()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeManagerBean

public TypeManagerBean()
Method Detail

initialize

@PostConstruct
public void initialize()
Specified by:
initialize in interface TypeManagerLocal

getSuperTypes

public java.lang.String[] getSuperTypes(java.lang.String typeName)
Description copied from interface: TypeManager
Gets the super type names for the given type.

Specified by:
getSuperTypes in interface TypeManager
Returns:
an array of supertypes or an empty array if no supertype exists. null is returned if no such type exists

getType

public Type getType(java.lang.String typeName)
Specified by:
getType in interface TypeManager

hasType

public boolean hasType(java.lang.String typeName)
Specified by:
hasType in interface TypeManager

getTypes

public java.util.Collection<Type> getTypes()
Specified by:
getTypes in interface TypeManager

getAllowedSubTypes

public java.util.Collection<Type> getAllowedSubTypes(java.lang.String typeName)
Specified by:
getAllowedSubTypes in interface TypeManager

remove

public void remove()
Specified by:
remove in interface TypeManagerLocal

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.