Interface RenderingPageChecker
-
- All Known Implementing Classes:
RenderingCatalogPageChecker,RenderingCategoryPageChecker,RenderingContentPageChecker,RenderingProductPageChecker
public interface RenderingPageCheckerInterface responsible for providing predicate to test whether the page qualifier exists or not. Qualifier can be page id or label for Content page. Or it can be a product code for Product page.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.function.Predicate<java.lang.String>getConstrainedBy()Predicate to test if a given page type code matches the page supplier.voidverify(RenderingPageValidationDto renderPageValidationDto, org.springframework.validation.Errors errors)Validates attributes insideRenderingPageValidationDto
-
-
-
Method Detail
-
getConstrainedBy
java.util.function.Predicate<java.lang.String> getConstrainedBy()
Predicate to test if a given page type code matches the page supplier.Returns TRUE if the supplier exists; FALSE otherwise.
-
verify
void verify(RenderingPageValidationDto renderPageValidationDto, org.springframework.validation.Errors errors)
Validates attributes insideRenderingPageValidationDto
-
-