Class DefaultAssistedServiceRedirectStrategy
- java.lang.Object
-
- de.hybris.platform.assistedservicestorefront.redirect.impl.DefaultAssistedServiceRedirectStrategy
-
- All Implemented Interfaces:
AssistedServiceRedirectStrategy
public class DefaultAssistedServiceRedirectStrategy extends java.lang.Object implements AssistedServiceRedirectStrategy
Default property based implementation forAssistedServiceRedirectStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultAssistedServiceRedirectStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AssistedServiceServicegetAssistedServiceService()protected CartServicegetCartService()java.lang.StringgetErrorRedirectPath()Returns redirect path after emulation is called with exceptions.protected java.lang.StringgetPathCustomerOnly()protected java.lang.StringgetPathWithCart()protected java.lang.StringgetPathWithOrder(java.lang.String redirectOrderId)protected java.lang.StringgetPathWithoutOrder()java.lang.StringgetRedirectPath()Returns redirect path after emulation is called.protected SessionServicegetSessionService()protected UserServicegetUserService()voidsetAssistedServiceService(AssistedServiceService assistedServiceService)voidsetCartService(CartService cartService)voidsetSessionService(SessionService sessionService)voidsetUserService(UserService userService)
-
-
-
Method Detail
-
getRedirectPath
public java.lang.String getRedirectPath()
Description copied from interface:AssistedServiceRedirectStrategyReturns redirect path after emulation is called.- Specified by:
getRedirectPathin interfaceAssistedServiceRedirectStrategy
-
getErrorRedirectPath
public java.lang.String getErrorRedirectPath()
Description copied from interface:AssistedServiceRedirectStrategyReturns redirect path after emulation is called with exceptions.- Specified by:
getErrorRedirectPathin interfaceAssistedServiceRedirectStrategy
-
getPathWithCart
protected java.lang.String getPathWithCart()
-
getPathCustomerOnly
protected java.lang.String getPathCustomerOnly()
-
getPathWithOrder
protected java.lang.String getPathWithOrder(java.lang.String redirectOrderId)
-
getPathWithoutOrder
protected java.lang.String getPathWithoutOrder()
-
getCartService
protected CartService getCartService()
- Returns:
- the cartService
-
setCartService
public void setCartService(CartService cartService)
- Parameters:
cartService- the cartService to set
-
getUserService
protected UserService getUserService()
- Returns:
- the userService
-
setUserService
public void setUserService(UserService userService)
- Parameters:
userService- the userService to set
-
getSessionService
protected SessionService getSessionService()
- Returns:
- the sessionService
-
setSessionService
public void setSessionService(SessionService sessionService)
- Parameters:
sessionService- the sessionService to set
-
getAssistedServiceService
protected AssistedServiceService getAssistedServiceService()
-
setAssistedServiceService
public void setAssistedServiceService(AssistedServiceService assistedServiceService)
-
-