Class AssistedServicePathRestriction
- java.lang.Object
-
- de.hybris.platform.assistedservicestorefront.restrictions.AssistedServicePathRestriction
-
- Direct Known Subclasses:
AssistedServiceSalesGroupPathRestriction
,AssitedServiceAllAgentsPathRestriction
public abstract class AssistedServicePathRestriction extends java.lang.Object
Parent 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 boolean
evaluate(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse)
protected AssistedServiceFacade
getAssistedServiceFacade()
protected java.util.List<java.lang.String>
getPaths()
protected java.lang.String
getPreviousPage(javax.servlet.http.HttpServletRequest httpservletrequest)
protected UserService
getUserService()
protected boolean
matches(java.lang.String url, java.lang.String pattern)
protected boolean
pathMatches(javax.servlet.http.HttpServletRequest httpservletrequest)
protected void
sendRedirectToPreviousPage(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse)
void
setAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade)
void
setPaths(java.util.List<java.lang.String> paths)
void
setUserService(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
-
-