Class BackofficeDynamicCatalogVersionActivationFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
com.hybris.backoffice.security.BackofficeDynamicCatalogVersionActivationFilter
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 BackofficeDynamicCatalogVersionActivationFilter extends org.springframework.web.filter.GenericFilterBean
  • Constructor Details

    • BackofficeDynamicCatalogVersionActivationFilter

      public BackofficeDynamicCatalogVersionActivationFilter()
  • Method Details

    • doFilter

      public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
      Before the filterChain gets processed, BackofficeDynamicCatalogVersionActivationFilter takes care of activating the catalog versions properly
      Parameters:
      request - the request
      response - the response
      filterChain - the filterChain
      Throws:
      IOException
      javax.servlet.ServletException
    • isAvailableCatalogVersionsChanged

      protected boolean isAvailableCatalogVersionsChanged()
    • getCatalogVersionsForCurrentUser

      protected Collection<CatalogVersionModel> getCatalogVersionsForCurrentUser()
    • setSessionCatalogVersions

      protected void setSessionCatalogVersions(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession httpSession, Collection<CatalogVersionModel> versions)
    • getCatalogVersionService

      protected CatalogVersionService getCatalogVersionService()
    • setCatalogVersionService

      public void setCatalogVersionService(CatalogVersionService catalogVersionService)
    • getCatalogService

      protected CatalogService getCatalogService()
    • setCatalogService

      public void setCatalogService(CatalogService catalogService)
    • getUserService

      protected UserService getUserService()
    • setUserService

      public void setUserService(UserService userService)
    • getSessionService

      protected SessionService getSessionService()
    • setSessionService

      public void setSessionService(SessionService sessionService)
    • getAvailableCatalogVersionsTag

      protected AvailableCatalogVersionsTag getAvailableCatalogVersionsTag()
    • setAvailableCatalogVersionsTag

      public void setAvailableCatalogVersionsTag(AvailableCatalogVersionsTag availableCatalogVersionsTag)