Package org.xdams.page.view.modeling

Examples of org.xdams.page.view.modeling.QueryPageView


  @RequestMapping(value = "/search/{archive}/query", method = RequestMethod.GET)
  public String queryPage(@ModelAttribute("userBean") UserBean userBean, @ModelAttribute("confBean") ConfBean confBean, @PathVariable String archive, ModelMap modelMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
    common(confBean, userBean, archive, modelMap, request, response);
    QueryPageCommand queryPageCommand = new QueryPageCommand(request.getParameterMap(), modelMap);
    queryPageCommand.execute();
    QueryPageView pageView = new QueryPageView();
    WorkFlowBean workFlowBean = (WorkFlowBean) modelMap.get("workFlowBean");
    pageView.generateView(workFlowBean, confBean, userBean, modelMap);
    modelMap.put("positionMap", pageView.getPositionMap());
    modelMap.put("positionAdminMap", pageView.getPositionAdminMap());
    modelMap.put("outputHourField", pageView.getOutputHourField());
    modelMap.put("outputDataField", pageView.getOutputDataField());
    modelMap.put("outputSortField", pageView.getOutputSortField());
    return "search/query";
  }
View Full Code Here


    Map<String, List<Archive>> usersArchives = new LinkedHashMap<String, List<Archive>>();
    serviceUser.loadArchives(userBean, usersArchives);
    modelMap.addAttribute("usersArchives", usersArchives);
    MultiQueryPageCommand queryPageCommand = new MultiQueryPageCommand(request.getParameterMap(), modelMap);
    queryPageCommand.execute();
    QueryPageView pageView = new QueryPageView();
    WorkFlowBean workFlowBean = (WorkFlowBean) modelMap.get("workFlowBean");
    pageView.generateView(workFlowBean, confBean, userBean, modelMap);
    modelMap.put("positionMap", pageView.getPositionMap());
    modelMap.put("positionAdminMap", pageView.getPositionAdminMap());
    modelMap.put("outputHourField", pageView.getOutputHourField());
    modelMap.put("outputDataField", pageView.getOutputDataField());
    modelMap.put("outputSortField", pageView.getOutputSortField());
    return "multiArchive/search/query-multiarchive";
  }
View Full Code Here

TOP

Related Classes of org.xdams.page.view.modeling.QueryPageView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.