Examples of save()


Examples of forestry.core.config.Configuration.save()

    initSetting("squeezer.liquid.seed", SQUEEZED_LIQUID_SEED, SQUEEZED_LIQUID_SEED * 8, "modifies the amount of seed oil squeezed from a single seed. other sources are based off this.");
    initSetting("squeezer.liquid.apple", SQUEEZED_LIQUID_APPLE, SQUEEZED_LIQUID_APPLE * 8, "modifies the amount of juice squeezed from a single apple. other sources are based off this.");
    initSetting("squeezer.mulch.apple", SQUEEZED_MULCH_APPLE, SQUEEZED_MULCH_APPLE * 8, "modifies the chance of mulch per squeezed apple.");
    initSetting("energy.engine.clockwork", true, "set to false to disable the clockwork engine.");

    config.save();

  }

  private void initSetting(String ident, ItemStack def, String comment) {
    Property property = Config.config.get(ident, category, def.stackSize);
View Full Code Here

Examples of forestry.core.utils.ItemInventory.save()

      return stack;

    ItemStack remainder = InvTools.moveItemStack(stack, inventory);
    stack.stackSize = remainder == null ? 0 : remainder.stackSize;

    inventory.save();
    return null;
  }

  private void switchMode(ItemStack itemstack) {
    BackpackMode mode = getMode(itemstack);
View Full Code Here

Examples of fr.dyade.aaa.agent.conf.A3CMLConfig.save()

      fos.flush();
      fos.getFD().sync();
      out.close();
      fos.close();
    } else {
      a3cmlConfig.save();
    }
  }

  public static class ServerIdAlreadyUsedException extends Exception {
    /**
 
View Full Code Here

Examples of fr.irit.halterego.rrl_ggp.base.RRLAlgorithm.save()

                System.out.println("iteration " + i);
                RState state = new GDLState(reasoner);
                algorithm.exploreNewEpisode(state, agents);
            }
               
            algorithm.save();
        }
        catch(Exception e)
        {
            throw new RuntimeException(e);
        }
View Full Code Here

Examples of fr.norsys.mapper.console.model.GlobalFilter.save()

   */
  public void save(Filter filter) throws Exception {
    GlobalFilter globalFilter = (GlobalFilter) ExecutionContext.get().getSession().getAttribute(ConsoleCst.GLOBALFILTER);
    IntFilter intFilter = (IntFilter) ExecutionContext.get().getSession().getAttribute(ConsoleCst.INTFILTER);
    filterService.save(filter,intFilter);
    globalFilter.save(intFilter);
  }
}
View Full Code Here

Examples of fr.sewatech.sewatoool.impress.service.ImpressService.save()

      doToc(arguments, service, document);

      doPdf(arguments, service, document);

      if (!arguments.containsKey("no-save")) {
        service.save(document);
      }
      if (!arguments.containsKey("no-close")) {
        service.close(document);
      }
View Full Code Here

Examples of fr.utbm.in56.annonces.dao.AnnonceDao.save()

                   
                    StatutDao sDao = new StatutDao();
                   
                    annonce.setStatut(sDao.getById(1));
                   
                    anDao.save(annonce);
                   
                    MessageDao messageDao = new MessageDao();
                   
                    request.getSession().setAttribute("unread",messageDao.getNbUnReadMessageByMember(membre));
                    request.setAttribute("monannonce", annonce.getId());
View Full Code Here

Examples of fr.utbm.in56.annonces.dao.CategorieDao.save()

    private void initCategories() {
       
        CategorieDao categorieDao = new CategorieDao();
       
        if(categorieDao.getAll().isEmpty()) {
            categorieDao.save(new Categorie("Automobile"));
            categorieDao.save(new Categorie("Moto"));
            categorieDao.save(new Categorie("Immobilier"));
            categorieDao.save(new Categorie("Meubles"));
            categorieDao.save(new Categorie("Informatique"));
            categorieDao.save(new Categorie("Electoménager"));
View Full Code Here

Examples of fr.utbm.in56.annonces.dao.DepartementDao.save()

            for(Region region : regions) {
                regionDao.save(region);
            }
           
            for(Departement departement : departements) {
                departementDao.save(departement);
            }
        }
    }

    @Override
View Full Code Here

Examples of fr.utbm.in56.annonces.dao.MembreDao.save()

                    m.setVille(inscrireForm.getVille());
                    m.setNom(inscrireForm.getNom());
                    m.setPrenom(inscrireForm.getPrenom());


                    dao.save(m);
                    return mapping.findForward("success");
               
                }else{
                   return mapping.findForward("error");
                }
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.