author | František Kučera <franta-hg@frantovo.cz> |
Thu Feb 25 08:26:46 2010 +0100 (2010-02-25) | |
changeset 40 | 67d332d48562 |
child 145 | 0efefbf5f8b6 |
permissions | -rw-r--r-- |
1 package cz.frantovo.nekurak.web;
3 import cz.frantovo.nekurak.dto.Podnik;
5 public class PridatPodnik {
7 private HledacSluzby hledac = new HledacSluzby();
9 private Podnik podnik = new Podnik();
11 public Podnik getPodnik() {
12 return podnik;
13 }
15 public void setPodnik(Podnik podnik) {
16 this.podnik = podnik;
17 }
19 public boolean getPridano() {
20 hledac.getPodnikEJB().zalozPodnik(podnik);
21 return true;
22 }
23 }