Class AssistedServicePathRestriction

java.lang.Object
de.hybris.platform.assistedservicestorefront.restrictions.AssistedServicePathRestriction
Direct Known Subclasses:
AssistedServiceSalesGroupPathRestriction, AssitedServiceAllAgentsPathRestriction

public abstract class AssistedServicePathRestriction extends Object
Parent abstract class for path restrictions in asm.
  • Constructor Details

    • AssistedServicePathRestriction

      public AssistedServicePathRestriction()
  • Method Details

    • evaluate

      public abstract boolean evaluate(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse)
    • sendRedirectToPreviousPage

      protected void sendRedirectToPreviousPage(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse)
    • getPreviousPage

      protected String getPreviousPage(javax.servlet.http.HttpServletRequest httpservletrequest)
    • pathMatches

      protected boolean pathMatches(javax.servlet.http.HttpServletRequest httpservletrequest)
    • matches

      protected boolean matches(String url, String pattern)
    • getUserService

      protected UserService getUserService()
      Returns:
      the userService
    • setUserService

      public void setUserService(UserService userService)
      Parameters:
      userService - the userService to set
    • getAssistedServiceFacade

      protected AssistedServiceFacade getAssistedServiceFacade()
      Returns:
      the assistedServiceFacade
    • setAssistedServiceFacade

      public void setAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade)
      Parameters:
      assistedServiceFacade - the assistedServiceFacade to set
    • getPaths

      protected List<String> getPaths()
      Returns:
      the paths
    • setPaths

      public void setPaths(List<String> paths)
      Parameters:
      paths - the paths to set