author | František Kučera <franta-hg@frantovo.cz> |
Sat Jan 15 00:57:45 2011 +0100 (2011-01-15) | |
changeset 170 | 56deca862adc |
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 |
} |