Interface PageVariationResolverTypeRegistry
-
- All Known Implementing Classes:
DefaultPageVariationResolverTypeRegistry
public interface PageVariationResolverTypeRegistryRegistry that stores a collection ofPageVariationResolverTypeelements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<PageVariationResolverType>getPageVariationResolverType(java.lang.String typecode)Get a specificPageVariationResolverTypeby type code.java.util.Collection<PageVariationResolverType>getPageVariationResolverTypes()Get all elements in the registry.
-
-
-
Method Detail
-
getPageVariationResolverType
java.util.Optional<PageVariationResolverType> getPageVariationResolverType(java.lang.String typecode)
Get a specificPageVariationResolverTypeby type code.- Parameters:
typecode- - the model type code of the element to retrieve from the registry- Returns:
- the element matching the page type. If none is found matching the given page type, return the resolver
type for
AbstractPageModel
-
getPageVariationResolverTypes
java.util.Collection<PageVariationResolverType> getPageVariationResolverTypes()
Get all elements in the registry.- Returns:
- all items in the registry; never null
-
-