author | František Kučera <franta-hg@frantovo.cz> |
Sun, 20 Jun 2010 14:46:47 +0200 | |
changeset 145 | 0efefbf5f8b6 |
parent 40 | 67d332d48562 |
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();
8 private Podnik podnik = new Podnik();
10 public Podnik getPodnik() {
11 return podnik;
12 }
14 public void setPodnik(Podnik podnik) {
15 this.podnik = podnik;
16 }
18 public boolean getPridano() {
19 hledac.getPodnikEJB().zalozPodnik(podnik);
20 return true;
21 }
22 }