Interface ComponentTypeStructureService
- All Known Implementing Classes:
GenericComponentTypeStructureService,RegistryComponentTypeStructureService
public interface ComponentTypeStructureService
Service that computes the
ComponentTypeStructure from a given TYPECODE.-
Method Summary
Modifier and TypeMethodDescriptiongetComponentTypeStructure(String typeCode) Get aComponentTypeStructureby its typecode.Get all elements in the registry.
-
Method Details
-
getComponentTypeStructure
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
Collection<ComponentTypeStructure> getComponentTypeStructures()Get all elements in the registry.- Returns:
- all items in the registry or an empty collection if no elements are found.
-