Skip to content
Snippets Groups Projects
Commit 622291ab authored by Mic's avatar Mic
Browse files
parents 5e329e17 7dc6da25
No related branches found
No related tags found
No related merge requests found
......@@ -32,19 +32,19 @@ import org.springframework.samples.petclinic.model.Visit;
*/
public interface ClinicService {
public Collection<PetType> findPetTypes() throws DataAccessException;
Collection<PetType> findPetTypes() throws DataAccessException;
public Owner findOwnerById(int id) throws DataAccessException;
Owner findOwnerById(int id) throws DataAccessException;
public Pet findPetById(int id) throws DataAccessException;
Pet findPetById(int id) throws DataAccessException;
public void savePet(Pet pet) throws DataAccessException;
void savePet(Pet pet) throws DataAccessException;
public void saveVisit(Visit visit) throws DataAccessException;
void saveVisit(Visit visit) throws DataAccessException;
public Collection<Vet> findVets() throws DataAccessException;
Collection<Vet> findVets() throws DataAccessException;
public void saveOwner(Owner owner) throws DataAccessException;
void saveOwner(Owner owner) throws DataAccessException;
Collection<Owner> findOwnerByLastName(String lastName) throws DataAccessException;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment