Class AssistedServicePathRestriction
- java.lang.Object
-
- de.hybris.platform.assistedservicestorefront.restrictions.AssistedServicePathRestriction
-
- Direct Known Subclasses:
AssistedServiceSalesGroupPathRestriction,AssitedServiceAllAgentsPathRestriction
public abstract class AssistedServicePathRestriction extends java.lang.ObjectParent abstract class for path restrictions in asm.
-
-
Constructor Summary
Constructors Constructor Description AssistedServicePathRestriction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanevaluate(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse)protected AssistedServiceFacadegetAssistedServiceFacade()protected java.util.List<java.lang.String>getPaths()protected java.lang.StringgetPreviousPage(javax.servlet.http.HttpServletRequest httpservletrequest)protected UserServicegetUserService()protected booleanmatches(java.lang.String url, java.lang.String pattern)protected booleanpathMatches(javax.servlet.http.HttpServletRequest httpservletrequest)protected voidsendRedirectToPreviousPage(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse)voidsetAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade)voidsetPaths(java.util.List<java.lang.String> paths)voidsetUserService(UserService userService)
-
-
-
Method Detail
-
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 java.lang.String getPreviousPage(javax.servlet.http.HttpServletRequest httpservletrequest)
-
pathMatches
protected boolean pathMatches(javax.servlet.http.HttpServletRequest httpservletrequest)
-
matches
protected boolean matches(java.lang.String url, java.lang.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 java.util.List<java.lang.String> getPaths()
- Returns:
- the paths
-
setPaths
public void setPaths(java.util.List<java.lang.String> paths)
- Parameters:
paths- the paths to set
-
-