Class CxPersonalizationFilter

  • All Implemented Interfaces:
    javax.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

    public class CxPersonalizationFilter
    extends org.springframework.web.filter.OncePerRequestFilter
    Filter activating personalization in session and run recalculation based on voters preferences
    • Constructor Detail

      • CxPersonalizationFilter

        public CxPersonalizationFilter()
    • Method Detail

      • doFilterInternal

        protected void doFilterInternal​(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        javax.servlet.FilterChain filterChain)
                                 throws javax.servlet.ServletException,
                                        java.io.IOException
        Specified by:
        doFilterInternal in class org.springframework.web.filter.OncePerRequestFilter
        Throws:
        javax.servlet.ServletException
        java.io.IOException
      • setCxRecalculationService

        public void setCxRecalculationService​(CxRecalculationService cxRecalculationService)
      • getOrderedActionList

        @Deprecated(since="1811",
                    forRemoval=true)
        protected java.util.List<RecalculateAction> getOrderedActionList()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1811 because actions are ordered in DefaultCxRecalculationService
      • setOrderedActionList

        @Deprecated(since="1811",
                    forRemoval=true)
        public void setOrderedActionList​(java.util.List<RecalculateAction> orderedActionList)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Set list based on which action will be sorted.
        Parameters:
        orderedActionList - Actions in order to execute
      • setPersonalizationHandler

        public void setPersonalizationHandler​(PersonalizationHandler personalizationHandler)