org.springframework.samples.petclinic.appointments
Class JpaAppointmentBook

java.lang.Object
  extended by org.springframework.samples.petclinic.appointments.JpaAppointmentBook
All Implemented Interfaces:
AppointmentBook

@Repository
@Transactional
public class JpaAppointmentBook
extends Object
implements AppointmentBook


Constructor Summary
JpaAppointmentBook()
           
 
Method Summary
 Long createAppointment(Appointment appointment)
           
 Appointments getAppointmentsForDay(Date day)
           
 Appointments getAppointmentsForToday()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaAppointmentBook

public JpaAppointmentBook()
Method Detail

createAppointment

public Long createAppointment(Appointment appointment)
Specified by:
createAppointment in interface AppointmentBook

getAppointmentsForDay

public Appointments getAppointmentsForDay(Date day)
Specified by:
getAppointmentsForDay in interface AppointmentBook

getAppointmentsForToday

public Appointments getAppointmentsForToday()
Specified by:
getAppointmentsForToday in interface AppointmentBook


Copyright © 2009 SpringSource, Inc. All Rights Reserved.