Class RenderingCategoryPageModelSupplier
java.lang.Object
de.hybris.platform.cmsfacades.rendering.suppliers.page.impl.RenderingCategoryPageModelSupplier
- All Implemented Interfaces:
RenderingPageModelSupplier
public class RenderingCategoryPageModelSupplier
extends Object
implements RenderingPageModelSupplier
Implementation of
RenderingPageModelSupplier for Category page.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CMSDataFactoryprotected CMSPageServiceprotected CMSPreviewServicePredicate to test if a given page type code matches the page supplier.getPageModel(String categoryCode) Returns the page by qualifier.getRestrictionData(String categoryCode) Returns restriction data related to current page.voidsetCmsDataFactory(CMSDataFactory cmsDataFactory) voidsetCmsPageService(CMSPageService cmsPageService) voidsetCmsPreviewService(CMSPreviewService cmsPreviewService) voidsetConstrainedBy(Predicate<String> constrainedBy)
-
Constructor Details
-
RenderingCategoryPageModelSupplier
public RenderingCategoryPageModelSupplier()
-
-
Method Details
-
getConstrainedBy
Description copied from interface:RenderingPageModelSupplierPredicate to test if a given page type code matches the page supplier.Returns TRUE if the supplier exists; FALSE otherwise.
- Specified by:
getConstrainedByin interfaceRenderingPageModelSupplier
-
getPageModel
Description copied from interface:RenderingPageModelSupplierReturns the page by qualifier.- Specified by:
getPageModelin interfaceRenderingPageModelSupplier- Parameters:
categoryCode- the qualifier of the page.- Returns:
OptionalAbstractPageModel
-
getRestrictionData
Description copied from interface:RenderingPageModelSupplierReturns restriction data related to current page.- Specified by:
getRestrictionDatain interfaceRenderingPageModelSupplier- Parameters:
categoryCode- the qualifier of the page- Returns:
- the
OptionalRestrictionData
-
setConstrainedBy
-
getCmsPageService
-
setCmsPageService
-
getCmsDataFactory
-
setCmsDataFactory
-
getCmsPreviewService
-
setCmsPreviewService
-