Class AssistedServicePathRestriction
java.lang.Object
de.hybris.platform.assistedservicestorefront.restrictions.AssistedServicePathRestriction
- Direct Known Subclasses:
AssistedServiceSalesGroupPathRestriction,AssitedServiceAllAgentsPathRestriction
Parent abstract class for path restrictions in asm.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanevaluate(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse) protected AssistedServiceFacadegetPaths()protected StringgetPreviousPage(javax.servlet.http.HttpServletRequest httpservletrequest) protected UserServiceprotected booleanprotected booleanpathMatches(javax.servlet.http.HttpServletRequest httpservletrequest) protected voidsendRedirectToPreviousPage(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse) voidsetAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade) voidvoidsetUserService(UserService userService)
-
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
-
pathMatches
protected boolean pathMatches(javax.servlet.http.HttpServletRequest httpservletrequest) -
matches
-
getUserService
- Returns:
- the userService
-
setUserService
- Parameters:
userService- the userService to set
-
getAssistedServiceFacade
- Returns:
- the assistedServiceFacade
-
setAssistedServiceFacade
- Parameters:
assistedServiceFacade- the assistedServiceFacade to set
-
getPaths
- Returns:
- the paths
-
setPaths
- Parameters:
paths- the paths to set
-