package dk.hansen; import java.util.Collection; /* * This is a Data Access Object (DAO) */ public interface VhsManagerIF { public void createVhs(String id, int year, String title, int tapeLength) throws DAOException; public void updateVhs(String id, int year, String title, int tapeLength) throws DAOException; public void deleteVhs(String id) throws DAOException; public Vhs getVhs(String id) throws DAOException; public Collection getAll() throws DAOException; public Collection findVhsTitle(String title) throws DAOException; public Collection findVhsYear(int year) throws DAOException; }