Advertisement
Guest User

Untitled

a guest
Dec 12th, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. /**
  2. * Gets appointment blocks which have a given date and location.
  3. *
  4. * @return a list of appointment block objects.
  5. * @should get all appointment blocks which have a given date and location.
  6. */
  7. @Transactional(readOnly = true)
  8. List<AppointmentBlock> getAppointmentBlocks(Date fromDate, Date toDate, Location location);
  9.  
  10.  
  11. imple:
  12.  
  13. /**
  14. * @see org.openmrs.module.appointment.api.AppointmentService#getAppointmentBlocks(java.util.Date,java.util.Date,org.openmrs.Location))
  15. */
  16. @Transactional(readOnly = true)
  17. public List<AppointmentBlock> getAppointmentBlocks(Date fromDate, Date toDate, Location location) {
  18. return getAppointmentBlockDAO().getAppointmentBlocks(fromDate, toDate, location);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement