Class AdditionalInformationController
- java.lang.Object
-
- de.hybris.platform.assistedservicestorefront.controllers.AdditionalInformationController
-
@Controller @RequestMapping("/assisted-service-aif") public class AdditionalInformationController extends java.lang.ObjectController to AIF requests for ASM
-
-
Constructor Summary
Constructors Constructor Description AdditionalInformationController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcustomer360FragmentPost(org.springframework.ui.Model model, java.util.Map<java.lang.String,java.lang.String> allRequestParams, javax.servlet.http.HttpServletResponse response)Method for getting fragment's details, data and JSP renderer as response on POSTs requestjava.lang.StringgetCustomer360(org.springframework.ui.Model model, javax.servlet.http.HttpServletResponse response)returns list of sections we have configured to display them on frontend, sections are not loaded just section titlejava.lang.StringgetCustomer360Fragment(org.springframework.ui.Model model, java.util.Map<java.lang.String,java.lang.String> allRequestParams, javax.servlet.http.HttpServletResponse response)Method for getting fragment's details, data and JSP renderer as response on GET requestjava.lang.StringgetCustomer360Section(org.springframework.ui.Model model, java.lang.String sectionId, javax.servlet.http.HttpServletResponse response)get the section's fragments and display fragments meta info only like title
-
-
-
Method Detail
-
getCustomer360
@RequestMapping(value="/customer360", method=GET) public java.lang.String getCustomer360(org.springframework.ui.Model model, javax.servlet.http.HttpServletResponse response)returns list of sections we have configured to display them on frontend, sections are not loaded just section title- Parameters:
model-- Returns:
- list of sections to display
-
getCustomer360Section
@RequestMapping(value="/customer360section", method=GET) public java.lang.String getCustomer360Section(org.springframework.ui.Model model, @RequestParam("sectionId") java.lang.String sectionId, javax.servlet.http.HttpServletResponse response)get the section's fragments and display fragments meta info only like title- Parameters:
model-sectionId- section id to retrieve fragments for- Returns:
- section info along with its fragments
-
getCustomer360Fragment
@RequestMapping(value="/customer360Fragment", method=GET) public java.lang.String getCustomer360Fragment(org.springframework.ui.Model model, @RequestParam java.util.Map<java.lang.String,java.lang.String> allRequestParams, javax.servlet.http.HttpServletResponse response)Method for getting fragment's details, data and JSP renderer as response on GET request- Parameters:
model-allRequestParams- all request parameters- Returns:
- fragment with populated data and renderer
-
customer360FragmentPost
@RequestMapping(value="/customer360Fragment", method=POST) public java.lang.String customer360FragmentPost(org.springframework.ui.Model model, @RequestParam java.util.Map<java.lang.String,java.lang.String> allRequestParams, javax.servlet.http.HttpServletResponse response)Method for getting fragment's details, data and JSP renderer as response on POSTs request- Parameters:
model-allRequestParams- all request parameters- Returns:
- fragment with populated data and renderer
-
-