author | František Kučera <franta-hg@frantovo.cz> |
Tue Apr 23 21:43:37 2013 +0200 (2013-04-23) | |
changeset 204 | bebec432330a |
parent 96 | 9f6225d83611 |
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 |
} |