Package org.cipres.treebase.domain.search

Examples of org.cipres.treebase.domain.search.SearchResultsFrozen.thaw()


  public SearchResults<? extends TBPersistable> recoverSearchResults(
      HttpServletRequest request) {
    SearchResultsFrozen srFrozen = searchResultsFrozen(request);
    if (srFrozen == null) return null;
    return srFrozen.thaw();
  }

  public ModelAndView selectResultsView(HttpServletRequest request) {
    SearchResultsFrozen srFrozen = searchResultsFrozen(request);
    LOGGER.debug("In selectResultsView with results = " + srFrozen);
View Full Code Here


  public ModelAndView handleRequest(HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    SearchResultsFrozen frozenResults = (SearchResultsFrozen) request.getSession().getAttribute("searchResults");
    if ( null != frozenResults ) {
      String phyloWSPath = request.getSession().getAttribute("originalSection") + "/find";
      SearchResults<?> searchResults = frozenResults.thaw();
      request.getSession().setAttribute("searchResultsThawed", searchResults);     
      request.getSession().setAttribute("recordSchema", request.getSession().getAttribute("recordSchema"));
      request.getSession().setAttribute("format", "rss1");
      request.getSession().setAttribute("baseURL", TreebaseUtil.getPurlBase());
      request.getSession().setAttribute("phyloWSPath", phyloWSPath);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.