org.springframework.osgi.samples.petclinic
Interface Clinic

All Known Implementing Classes:
JdbcClinic

public interface Clinic


Method Summary
 String getDatabaseName()
           
 Collection getPets()
          Retrieve all Vets from the datastore.
 Collection getPetTypes()
          Retrieve all PetTypes from the datastore.
 

Method Detail

getPets

Collection getPets()
                   throws DataAccessException
Retrieve all Vets from the datastore.

Returns:
a Collection of Vets
Throws:
DataAccessException

getPetTypes

Collection getPetTypes()
                       throws DataAccessException
Retrieve all PetTypes from the datastore.

Returns:
a Collection of PetTypes
Throws:
DataAccessException

getDatabaseName

String getDatabaseName()
                       throws DataAccessException
Throws:
DataAccessException


Copyright © 2006-2007 Spring Framework. All Rights Reserved.