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 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: PageRedirectSupplier
      Determines whether to redirect the request depending upon the logic in supplier.
      Specified by:
      shouldRedirect in interface PageRedirectSupplier
      Overrides:
      shouldRedirect in class AbstractPageRedirectSupplier
      Parameters:
      request - - the http request
      previewData - - the preview data
      Returns:
      true if it needs to redirect the request; false otherwise.
    • populateParams

      protected void populateParams(PreviewDataModel previewData, RequestParamData paramData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractPageRedirectSupplier
      Populates the request parameters to make the request to redirect.
      Specified by:
      populateParams in class AbstractPageRedirectSupplier
      Parameters:
      previewData - - the preview data
      paramData - - the request path and query parameters
    • getPreviewCode

      protected String getPreviewCode(PreviewDataModel previewData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractPageRedirectSupplier
      Retrieves the category or product code from preview data.
      Specified by:
      getPreviewCode in class AbstractPageRedirectSupplier
      Parameters:
      previewData - - the preview data
      Returns:
      the category code; can be NULL