author | František Kučera <franta-hg@frantovo.cz> |
Sun, 09 Jan 2011 23:34:16 +0100 | |
changeset 161 | 5421bbe5973b |
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 |
} |