Class AdditionalInformationController
java.lang.Object
de.hybris.platform.assistedservicestorefront.controllers.AdditionalInformationController
@Controller
@RequestMapping("/assisted-service-aif")
public class AdditionalInformationController
extends Object
Controller to AIF requests for ASM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomer360FragmentPost(org.springframework.ui.Model model, Map<String, String> allRequestParams, javax.servlet.http.HttpServletResponse response) Method for getting fragment's details, data and JSP renderer as response on POSTs requestgetCustomer360(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 titlegetCustomer360Fragment(org.springframework.ui.Model model, Map<String, String> allRequestParams, javax.servlet.http.HttpServletResponse response) Method for getting fragment's details, data and JSP renderer as response on GET requestgetCustomer360Section(org.springframework.ui.Model model, String sectionId, javax.servlet.http.HttpServletResponse response) get the section's fragments and display fragments meta info only like title
-
Constructor Details
-
AdditionalInformationController
public AdditionalInformationController()
-
-
Method Details
-
getCustomer360
@RequestMapping(value="/customer360", method=GET) public 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 String getCustomer360Section(org.springframework.ui.Model model, @RequestParam("sectionId") 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 String getCustomer360Fragment(org.springframework.ui.Model model, @RequestParam Map<String, 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 String customer360FragmentPost(org.springframework.ui.Model model, @RequestParam Map<String, 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
-