author | František Kučera <franta-hg@frantovo.cz> |
Wed Jan 27 01:28:52 2010 +0100 (2010-01-27) | |
changeset 23 | f76fc9f3cb7c |
parent 14 | 0043a3b32d31 |
permissions | -rw-r--r-- |
franta-hg@14 | 1 |
package cz.frantovo.nekurak.web; |
franta-hg@10 | 2 |
|
franta-hg@23 | 3 |
import cz.frantovo.nekurak.dao.PodnikDAO; |
franta-hg@10 | 4 |
import cz.frantovo.nekurak.dto.Podnik; |
franta-hg@10 | 5 |
import java.io.Serializable; |
franta-hg@10 | 6 |
import java.util.Collection; |
franta-hg@10 | 7 |
|
franta-hg@10 | 8 |
/** |
franta-hg@10 | 9 |
* |
franta-hg@10 | 10 |
* @author fiki |
franta-hg@10 | 11 |
*/ |
franta-hg@14 | 12 |
public class PodnikyWeb implements Serializable { |
franta-hg@10 | 13 |
|
franta-hg@23 | 14 |
private PodnikDAO dao = new PodnikDAO(); |
franta-hg@23 | 15 |
|
franta-hg@10 | 16 |
public Collection<Podnik> getPodniky() { |
franta-hg@23 | 17 |
return dao.getPodniky(); |
franta-hg@10 | 18 |
} |
franta-hg@10 | 19 |
} |