org.nuxeo.ecm.platform.types.ejb
Class TypeManagerBean
java.lang.Object
org.nuxeo.ecm.platform.types.ejb.TypeManagerBean
- All Implemented Interfaces:
- TypeManagerLocal, TypeManager
public class TypeManagerBean
- extends java.lang.Object
- implements TypeManagerLocal
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeManagerBean
public TypeManagerBean()
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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.