Class CategoryPageRedirectSupplier
java.lang.Object
de.hybris.platform.cmsocc.redirect.suppliers.impl.AbstractPageRedirectSupplier
de.hybris.platform.cmsocc.redirect.suppliers.impl.CategoryPageRedirectSupplier
- All Implemented Interfaces:
PageRedirectSupplier
Implementation of
PageRedirectSupplier to handle CategoryPageModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetPreviewCode(PreviewDataModel previewData) Retrieves the category or product code from preview data.protected voidpopulateParams(PreviewDataModel previewData, RequestParamData paramData) Populates the request parameters to make the request to redirect.Methods inherited from class de.hybris.platform.cmsocc.redirect.suppliers.impl.AbstractPageRedirectSupplier
buildRequestParamData, getConstrainedBy, getPagePredicate, getRedirectUrl, getTypeCodePredicate, setPagePredicate, setTypeCodePredicate, shouldNotRedirect, shouldRedirect
-
Constructor Details
-
CategoryPageRedirectSupplier
public CategoryPageRedirectSupplier()
-
-
Method Details
-
populateParams
Description copied from class:AbstractPageRedirectSupplierPopulates the request parameters to make the request to redirect.- Specified by:
populateParamsin classAbstractPageRedirectSupplier- Parameters:
previewData- - the preview dataparamData- - the request path and query parameters
-
getPreviewCode
Description copied from class:AbstractPageRedirectSupplierRetrieves the category or product code from preview data.- Specified by:
getPreviewCodein classAbstractPageRedirectSupplier- Parameters:
previewData- - the preview data- Returns:
- the category code; can be
NULL
-