Class AdditionalInformationController


  • @Controller
    @RequestMapping("/assisted-service-aif")
    public class AdditionalInformationController
    extends java.lang.Object
    Controller to AIF requests for ASM
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
      java.lang.String getCustomer360Fragment​(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 or POSTs request
      java.lang.String getCustomer360Section​(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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AdditionalInformationController

        public AdditionalInformationController()
    • 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={POST,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 or POSTs request
        Parameters:
        model -
        allRequestParams - all request parameters
        Returns:
        fragment with populated data and renderer