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
  • 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

      @RequestMapping(value="/personify-customer", method=POST) public String emulateCustomer(org.springframework.ui.Model model, @RequestParam("customerId") String customerId, @RequestParam("customerName") String customerName, @RequestParam("cartId") String cartId)
    • 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

      @RequestMapping(value="/create-account", method=POST) public String createCustomer(org.springframework.ui.Model model, @RequestParam("customerId") String customerId, @RequestParam("customerName") String customerName)
    • 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

      @RequestMapping(value="/bind-cart", method=POST) public String bindCart(@RequestParam(value="customerId",required=false) String customerId, @RequestParam(value="cartId",required=false) String cartId, org.springframework.ui.Model model)
    • 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

      protected boolean isASAgent(UserModel currentUser)
    • encodeValue

      protected String encodeValue(String inputValue)