packageat.ac.tuwien.sepm.assignment.individual.persistence;importat.ac.tuwien.sepm.assignment.individual.entity.Horse;importat.ac.tuwien.sepm.assignment.individual.exception.NotFoundException;importorg.springframework.dao.DataAccessException;publicinterfaceHorseDao{/** * @param id of the horse to find. * @return the horse with the specified id. * @throws DataAccessException will be thrown if something goes wrong during the database access. * @throws NotFoundException will be thrown if the horse could not be found in the database. */HorsefindOneById(Longid);/** * @param horse that specifies the horse to add * @return the newly created horse * @throws DataAccessException will be thrown if something goes wrong during the database access. */HorseaddHorse(Horsehorse);}