Class EmailPageRedirectSupplier
java.lang.Object
de.hybris.platform.cmsocc.redirect.suppliers.impl.AbstractPageRedirectSupplier
de.hybris.platform.cmsocc.redirect.suppliers.impl.EmailPageRedirectSupplier
- All Implemented Interfaces:
PageRedirectSupplier
@Deprecated(since="2005",
forRemoval=true)
public class EmailPageRedirectSupplier
extends AbstractPageRedirectSupplier
Deprecated, for removal: This API element is subject to removal in a future version.
since 2005, no longer needed.
Implementation of
PageRedirectSupplier to handle EmailPageModel
Note that the email page type is defined in acceleratorservices and having a reference to the model in this extension
creates a circular dependency.
Additionally, email pages are not supported in Spartacus/headless CMS flows. Therefore, this class is no
longer needed.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetPreviewCode(PreviewDataModel previewData) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the category or product code from preview data.protected voidpopulateParams(PreviewDataModel previewData, RequestParamData paramData) Deprecated, for removal: This API element is subject to removal in a future version.Populates the request parameters to make the request to redirect.booleanshouldRedirect(javax.servlet.http.HttpServletRequest request, PreviewDataModel previewData) Deprecated, for removal: This API element is subject to removal in a future version.Determines whether to redirect the request depending upon the logic in supplier.Methods inherited from class de.hybris.platform.cmsocc.redirect.suppliers.impl.AbstractPageRedirectSupplier
buildRequestParamData, getConstrainedBy, getPagePredicate, getRedirectUrl, getTypeCodePredicate, setPagePredicate, setTypeCodePredicate, shouldNotRedirect
-
Constructor Details
-
EmailPageRedirectSupplier
public EmailPageRedirectSupplier()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
shouldRedirect
public boolean shouldRedirect(javax.servlet.http.HttpServletRequest request, PreviewDataModel previewData) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PageRedirectSupplierDetermines whether to redirect the request depending upon the logic in supplier.- Specified by:
shouldRedirectin interfacePageRedirectSupplier- Overrides:
shouldRedirectin classAbstractPageRedirectSupplier- Parameters:
request- - the http requestpreviewData- - the preview data- Returns:
trueif it needs to redirect the request;falseotherwise.
-
populateParams
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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
-