Skip to content
Snippets Groups Projects
Commit 7dc6da25 authored by michaelisvy's avatar michaelisvy
Browse files

Merge pull request #39 from arey/patch-1

Remove public to methods from the ClinicService
parents 4a477313 67ae72f3
No related branches found
No related tags found
No related merge requests found
...@@ -32,19 +32,19 @@ import org.springframework.samples.petclinic.model.Visit; ...@@ -32,19 +32,19 @@ import org.springframework.samples.petclinic.model.Visit;
*/ */
public interface ClinicService { 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; 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