Examples of thaw()


Examples of net.sourceforge.processdash.data.FrozenData.thaw()

        SaveableData value = element.getValue(), thawedValue;
        if (value instanceof FrozenData) {
          // Thaw the value.
          FrozenData fd = (FrozenData) value;
          thawedValue = fd.thaw();
          boolean isDefaultVal = (thawedValue == FrozenData.DEFAULT);
          if (isDefaultVal) {
            boolean fileIsReadOnly = (element.datafile == null ? false
                    : !element.datafile.canWrite);
            thawedValue = instantiateValue(dataName, fd.getPrefix(),
View Full Code Here

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

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

  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

Examples of uk.gov.nationalarchives.droid.profile.datasource.DerbyPooledDataSource.thaw()

    public void thawDatabase(String profileId) {
        ApplicationContext ctx = profileInstanceManagers.get(profileId);
        DerbyPooledDataSource dataSource = (DerbyPooledDataSource) ctx
                .getBean(DATA_SOURCE_BEAN_NAME);
        try {
            dataSource.thaw();
            //CHECKSTYLE:OFF no choice here - the datasource throws Exception
        } catch (Exception ex) {
            // CHECKSTYLE:ON
            Logger.getLogger(SpringProfileInstanceFactory.class.getName()).log(Level.SEVERE, null, ex);
        }
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.