/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package be.hogent.iii.voetbal.interfaces;

import be.hogent.iii.voetbal.excepties.JDBCExceptie;
import java.util.List;

/**
 *
 * @author kvdw
 */
public interface IDataStorage {
    
    public List <IClub> getClubs () throws JDBCExceptie;
    public List <IVoetballer> getVoetballers() throws JDBCExceptie;
    public List <IScheidsrechter> getScheidsrechters() throws JDBCExceptie;
    public List <IMatch> getMatchen() throws JDBCExceptie;
   
    public IClub getClub (String id) throws JDBCExceptie;
    public IVoetballer getVoetballer (String id) throws JDBCExceptie;
    public IScheidsrechter getScheidsRechter (String id) throws JDBCExceptie;
    public IMatch getMatch (int id) throws JDBCExceptie;
    
    public boolean addMatch (IMatch match) throws JDBCExceptie; 

}
