Interface PageContentSlotConverterRegistry
-
- All Known Implementing Classes:
DefaultPageContentSlotConverterRegistry
public interface PageContentSlotConverterRegistryRegistry that stores a collection ofPageContentSlotTypeelements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<PageContentSlotConverterType>getPageContentSlotConverterType(java.lang.Class<? extends CMSRelationModel> classType)Get a specificPageContentSlotConverterTypeby class type.java.util.Collection<PageContentSlotConverterType>getPageContentSlotConverterTypes()Get all elements in the registry.
-
-
-
Method Detail
-
getPageContentSlotConverterType
java.util.Optional<PageContentSlotConverterType> getPageContentSlotConverterType(java.lang.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
java.util.Collection<PageContentSlotConverterType> getPageContentSlotConverterTypes()
Get all elements in the registry.- Returns:
- all items in the registry; never null
-
-