blob: dba383288abc5cb3b870903b19284d7b79bf9547 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package beans.artikelManager;
import entities.Artikel;
import exceptions.IdBereitsVergebenException;
import exceptions.UnbekanntesEntityException;
import java.util.List;
import javax.ejb.Remote;
/**
*
* @author Jan
*/
@Remote
public interface ArtikelManagerRemote {
public long createArtikel(Artikel artikel) throws IdBereitsVergebenException;
public Artikel readArtikel(long artikelId) throws UnbekanntesEntityException;
public List<Artikel> readAllArtikel();
public void updateArtikel(Artikel artikel);
public void deleteArtikel(long artikelId);
public void deleteAllArtikel();
public boolean existsArtikel(long artikelId);
}
|