Class AssistedServiceComponentController
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.assistedservicestorefront.controllers.cms.AssistedServiceComponentController
@Controller
@RequestMapping("/assisted-service")
public class AssistedServiceComponentController
extends AbstractController
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException -
Field Summary
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToCartEventHandler(org.springframework.ui.Model model) autocomplete(String customerId) createCustomer(org.springframework.ui.Model model, String customerId, String customerName) emulateCustomer(org.springframework.ui.Model model, String customerId, String customerName, String cartId) emulateCustomerByLink(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs, String customerId, String cartId, String orderId, String fwd, boolean enable360View) protected StringencodeValue(String inputValue) endEmulateCustomer(org.springframework.ui.Model model) protected booleanloginAssistedServiceAgent(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password) logoutAssistedServiceAgent(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) voidquitAssistedServiceMode(org.springframework.ui.Model model) refresh(org.springframework.ui.Model model) protected voidThis method should be called after any facade method where user substitution may occurvoidprotected voidMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
Constructor Details
-
AssistedServiceComponentController
public AssistedServiceComponentController()
-
-
Method Details
-
quitAssistedServiceMode
@RequestMapping(value="/quit", method=POST) @ResponseStatus(OK) public void quitAssistedServiceMode(org.springframework.ui.Model model) -
loginAssistedServiceAgent
@RequestMapping(value="/login", method=POST) public String loginAssistedServiceAgent(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @RequestParam("username") String username, @RequestParam("password") String password) -
logoutAssistedServiceAgent
@RequestMapping(value="/logoutasm", method=POST) public String logoutAssistedServiceAgent(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) -
emulateCustomer
-
emulateCustomerByLink
@RequestMapping(value="/emulate", method=GET) public String emulateCustomerByLink(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs, @RequestParam(value="customerId",required=false) String customerId, @RequestParam(value="cartId",required=false) String cartId, @RequestParam(value="orderId",required=false) String orderId, @RequestParam(value="fwd",required=false) String fwd, @RequestParam(value="enable360View",required=false) boolean enable360View) -
createCustomer
-
endEmulateCustomer
@RequestMapping(value="/personify-stop", method=POST) public String endEmulateCustomer(org.springframework.ui.Model model) -
resetSession
@RequestMapping(value="/resetSession", method=POST) @ResponseStatus(OK) public void resetSession() -
autocomplete
@RequestMapping(value="/autocomplete", method=GET, produces="application/json") @ResponseBody public List<AutoSuggestionCustomerData> autocomplete(@RequestParam("customerId") String customerId) -
bindCart
-
addToCartEventHandler
@RequestMapping(value="/add-to-cart", method=POST) public String addToCartEventHandler(org.springframework.ui.Model model) -
refresh
@RequestMapping(value="/refresh", method=POST) public String refresh(org.springframework.ui.Model model) -
setSessionTimeout
protected void setSessionTimeout() -
refreshSpringSecurityToken
protected void refreshSpringSecurityToken()This method should be called after any facade method where user substitution may occur -
isASAgent
-
encodeValue
-