/* * 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; }