org.springframework.samples.petclinic.appointments
Class JpaAppointmentBook
java.lang.Object
org.springframework.samples.petclinic.appointments.JpaAppointmentBook
- All Implemented Interfaces:
- AppointmentBook
@Repository
@Transactional
public class JpaAppointmentBook
- extends Object
- implements AppointmentBook
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JpaAppointmentBook
public JpaAppointmentBook()
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.