Interface ComponentTypeStructureService
-
- All Known Implementing Classes:
GenericComponentTypeStructureService,RegistryComponentTypeStructureService
public interface ComponentTypeStructureServiceService that computes theComponentTypeStructurefrom a given TYPECODE.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentTypeStructuregetComponentTypeStructure(java.lang.String typeCode)Get aComponentTypeStructureby its typecode.java.util.Collection<ComponentTypeStructure>getComponentTypeStructures()Get all elements in the registry.
-
-
-
Method Detail
-
getComponentTypeStructure
ComponentTypeStructure getComponentTypeStructure(java.lang.String typeCode)
Get aComponentTypeStructureby its typecode.- Parameters:
typeCode- - the typeCode of the element to retrieve.- Returns:
- the element matching the typeCode
- Throws:
UnknownIdentifierException- when the typeCode does not existConversionException- when the type requested does not extend CMSItem
-
getComponentTypeStructures
java.util.Collection<ComponentTypeStructure> getComponentTypeStructures()
Get all elements in the registry.- Returns:
- all items in the registry or an empty collection if no elements are found.
-
-