author | František Kučera <franta-hg@frantovo.cz> |
Tue, 19 Jul 2011 15:22:15 +0200 | |
changeset 188 | 74d06a8a4948 |
parent 145 | 0efefbf5f8b6 |
permissions | -rw-r--r-- |
franta-hg@75 | 1 |
package cz.frantovo.nekurak.ejb; |
franta-hg@75 | 2 |
|
franta-hg@75 | 3 |
import cz.frantovo.nekurak.dto.Clanek; |
franta-hg@75 | 4 |
import java.util.Collection; |
franta-hg@75 | 5 |
import javax.ejb.Remote; |
franta-hg@75 | 6 |
|
franta-hg@75 | 7 |
/** |
franta-hg@75 | 8 |
* |
franta-hg@75 | 9 |
* @author fiki |
franta-hg@75 | 10 |
*/ |
franta-hg@75 | 11 |
@Remote |
franta-hg@75 | 12 |
public interface ClanekRemote { |
franta-hg@75 | 13 |
|
franta-hg@145 | 14 |
public Clanek getClanek(int id); |
franta-hg@75 | 15 |
|
franta-hg@145 | 16 |
public int zalozClanek(Clanek clanek); |
franta-hg@75 | 17 |
|
franta-hg@145 | 18 |
public void upravClanek(Clanek clanek); |
franta-hg@75 | 19 |
|
franta-hg@145 | 20 |
public Collection<Clanek> getClanky(); |
franta-hg@94 | 21 |
|
franta-hg@145 | 22 |
public void smazClanek(Clanek clanek); |
franta-hg@75 | 23 |
} |