summaryrefslogtreecommitdiffstats
path: root/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/beans/lager/LagerRemote.java
blob: ea1e8d0f09648baf8911bb21f8badd3fc5ece609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans.lager;

import exceptions.IllegalerWertException;
import exceptions.UnbekanntesEntityException;
import javax.ejb.Remote;

/**
 *
 * @author jmueller
 */
@Remote
public interface LagerRemote {

    public void bucheArtikelAus(long id, long anzahl) throws UnbekanntesEntityException, IllegalerWertException;
    public void bucheArtikelEin(long id, long anzahl) throws UnbekanntesEntityException, IllegalerWertException;
    public boolean pruefeVerfuegbarkeit(long id, long anzahl) throws Exception;
}