@Transactional public class AppointmentDao extends Object
Constructor and Description |
---|
AppointmentDao() |
Modifier and Type | Method and Description |
---|---|
void |
delete(Appointment a,
Long userId) |
List<Appointment> |
get() |
Appointment |
get(Long id) |
Appointment |
getAny(Long id) |
Appointment |
getByRoom(Long roomId) |
Appointment |
getByRoom(Long userId,
Long roomId) |
List<Appointment> |
getForToday(Long userId) |
List<Appointment> |
getInRange(Calendar start,
Calendar end) |
List<Appointment> |
getInRange(Long userId,
Date start,
Date end) |
Appointment |
getNext(Long userId,
Date start) |
List<Appointment> |
searchAppointmentsByTitle(Long userId,
String title) |
Appointment |
update(Appointment a,
Long userId) |
Appointment |
update(Appointment a,
Long userId,
boolean sendmails) |
public Appointment get(Long id)
public Appointment getAny(Long id)
public List<Appointment> get()
public Appointment update(Appointment a, Long userId)
public Appointment update(Appointment a, Long userId, boolean sendmails)
public void delete(Appointment a, Long userId)
public List<Appointment> getInRange(Long userId, Date start, Date end)
public List<Appointment> getInRange(Calendar start, Calendar end)
public Appointment getNext(Long userId, Date start)
public List<Appointment> searchAppointmentsByTitle(Long userId, String title)
public List<Appointment> getForToday(Long userId)
userId
- public Appointment getByRoom(Long userId, Long roomId)
public Appointment getByRoom(Long roomId)
Copyright © 2012–2016 Apache Software Foundation. All rights reserved.