packageat.ac.tuwien.sepm.assignment.individual.service;importat.ac.tuwien.sepm.assignment.individual.entity.Horse;importat.ac.tuwien.sepm.assignment.individual.exception.NotFoundException;publicinterfaceHorseService{/** * @param id of the horse to find. * @return the horse with the specified id. * @throws RuntimeException will be thrown if something goes wrong during data processing. * @throws NotFoundException will be thrown if the horse could not be found in the system. */HorsefindOneById(Longid);/** * @param horse to add. * @return the horse with the specified id. * @throws RuntimeException will be thrown if something goes wrong during data processing. * @throws NotFoundException will be thrown if the horse could not be found in the system. */HorseaddHorse(Horsehorse);}