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 Object
- implements TypeManagerLocal
TypeManagerBean
public TypeManagerBean()
initialize
@PostConstruct
public void initialize()
- Specified by:
initialize
in interface TypeManagerLocal
getSuperTypes
public String[] getSuperTypes(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(String typeName)
- Specified by:
getType
in interface TypeManager
hasType
public boolean hasType(String typeName)
- Specified by:
hasType
in interface TypeManager
getTypes
public Collection<Type> getTypes()
- Specified by:
getTypes
in interface TypeManager
getAllowedSubTypes
public Collection<Type> getAllowedSubTypes(String typeName)
- Specified by:
getAllowedSubTypes
in interface TypeManager
remove
public void remove()
- Specified by:
remove
in interface TypeManagerLocal
Copyright © 2011 Nuxeo SAS. All Rights Reserved.