Interface RenderingPageModelSupplier
- All Known Implementing Classes:
RenderingCatalogPageModelSupplier,RenderingCategoryPageModelSupplier,RenderingContentPageModelSupplier,RenderingProductPageModelSupplier
public interface RenderingPageModelSupplier
Interface responsible for providing
AbstractPageModel and corresponding RestrictionData-
Method Summary
Modifier and TypeMethodDescriptionPredicate to test if a given page type code matches the page supplier.getPageModel(String qualifier) Returns the page by qualifier.getRestrictionData(String qualifier) Returns restriction data related to current page.
-
Method Details
-
getConstrainedBy
Predicate to test if a given page type code matches the page supplier.Returns TRUE if the supplier exists; FALSE otherwise.
-
getPageModel
Returns the page by qualifier.- Parameters:
qualifier- the qualifier of the page.- Returns:
OptionalAbstractPageModel
-
getRestrictionData
Returns restriction data related to current page.- Parameters:
qualifier- the qualifier of the page- Returns:
- the
OptionalRestrictionData
-