Interface PageContentSlotConverterRegistry
- All Known Implementing Classes:
DefaultPageContentSlotConverterRegistry
public interface PageContentSlotConverterRegistry
Registry that stores a collection of
PageContentSlotType elements.-
Method Summary
Modifier and TypeMethodDescriptiongetPageContentSlotConverterType(Class<? extends CMSRelationModel> classType) Get a specificPageContentSlotConverterTypeby class type.Get all elements in the registry.
-
Method Details
-
getPageContentSlotConverterType
Optional<PageContentSlotConverterType> getPageContentSlotConverterType(Class<? extends CMSRelationModel> classType) Get a specificPageContentSlotConverterTypeby class type.- Parameters:
classType- - the class type of the element to retrieve from the registry- Returns:
- the element matching the class type
-
getPageContentSlotConverterTypes
Collection<PageContentSlotConverterType> getPageContentSlotConverterTypes()Get all elements in the registry.- Returns:
- all items in the registry; never null
-