mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-28 14:19:38 +00:00
Merge pull request #39 from arey/patch-1
Remove public to methods from the ClinicService
This commit is contained in:
commit
7dc6da25d8
1 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue