Package pl.zgora.uz.wmie.fe.service

Examples of pl.zgora.uz.wmie.fe.service.StanowiskoService.save()


    try {
    String nazwa = req.getParameter("nazwaStanowiska");
    StanowiskoService stanowiskoService = (StanowiskoService)BusinessUtil.findBusiness("StanowiskoService");
    Stanowisko stanowisko = new Stanowisko();
    stanowisko.setNazwa(nazwa);
      stanowiskoService.save(stanowisko);
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
 
View Full Code Here


  public FormAjaxResponse addStanowisko(Map<String, String> params){
    try {
      StanowiskoService stanowiskoService = (StanowiskoService) BusinessUtil.findBusiness("StanowiskoService");
      Stanowisko s =new Stanowisko();
      s.setNazwa(params.get("nazwaStanowiska").toString());
      stanowiskoService.save(s);
    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    FormAjaxResponse response = new FormAjaxResponse();
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.