package edu.marshall.genomics.lims.data; import java.util.List; import edu.marshall.genomics.lims.entities.Investigator; import edu.marshall.genomics.lims.entities.Project; import edu.marshall.genomics.lims.entities.Sample; public interface Dao { public List getAllInvestigators() throws DaoException ; public Investigator getInvestigatorById(int id) throws DaoException ; public List getAllProjects() throws DaoException ; public List getProjectsByInvestigator(Investigator investigator) throws DaoException ; public Project getProjectById(int id) throws DaoException ; public List getSamplesByProject(Project project) throws DaoException ; public Sample getSampleById(int id) throws DaoException ; public void addInvestigators(List investigators) throws DaoException ; public void updateInvestigator(Investigator invesitgator) throws DaoException ; public void addProjects(List projects) throws DaoException ; public void updateProject(Project project) throws DaoException ; public void addSamples(List samples) throws DaoException ; public void updateSample(Sample sample) throws DaoException ; }