Interface ComponentTypeStructureService

All Known Implementing Classes:
GenericComponentTypeStructureService, RegistryComponentTypeStructureService

public interface ComponentTypeStructureService
Service that computes the ComponentTypeStructure from a given TYPECODE.
  • Method Details

    • getComponentTypeStructure

      ComponentTypeStructure getComponentTypeStructure(String typeCode)
      Get a ComponentTypeStructure by its typecode.
      Parameters:
      typeCode - - the typeCode of the element to retrieve.
      Returns:
      the element matching the typeCode
      Throws:
      UnknownIdentifierException - when the typeCode does not exist
      ConversionException - 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.