@PreAuthorize("isAuthenticated()")
 @Override
 public List getOrdersPlaceAndDayForUser(
     User user, List<Integer> places, DateTime from, DateTime to) {
   return orderDAO.getOrdersPlaceAndDayForUser(
       user, places, from.withTimeAtStartOfDay(), to.withTimeAtStartOfDay());
 }
 @PreAuthorize("isAuthenticated()")
 @Override
 public List getOrdersUser(User user, DateTime from, DateTime to) {
   return orderDAO.getOrdersUser(user, from.withTimeAtStartOfDay(), to.withTimeAtStartOfDay());
 }
 @PreAuthorize("isAuthenticated()")
 @Override
 public List getVacantUsersForDate(DateTime date) {
   return orderDAO.getVacantUsersForDate(date);
 }
 @PreAuthorize("isAuthenticated()")
 @Override
 public List getVacantUsersForOrder(Order order) {
   return orderDAO.getVacantUsersForOrder(order);
 }
 @PreAuthorize("hasAnyRole('ROLE_ORDERADMIN', 'ROLE_PHARMACY', 'ROLE_ADMIN')")
 @Override
 public void addOrder(Order order) {
   orderDAO.addOrder(order);
 }
 @PreAuthorize("hasAnyRole('ROLE_ORDERADMIN', 'ROLE_PHARMACY', 'ROLE_ADMIN')")
 @Override
 public void deleteOrder(int id) {
   orderDAO.deleteOrder(id);
 }
 @PreAuthorize("isAuthenticated()")
 @Override
 public List getOrdersPlace(List<Integer> places) {
   return orderDAO.getOrdersPlace(places);
 }
 @PreAuthorize("isAuthenticated()")
 @Override
 public List getOrdersPlace(int id) {
   return orderDAO.getOrdersPlace(id);
 }
 @PreAuthorize("isAuthenticated()")
 @Override
 public List getOrdersDate(DateTime date) {
   return orderDAO.getOrdersDate(date.withTimeAtStartOfDay());
 }
 @PreAuthorize("hasAnyRole('ROLE_ORDERADMIN', 'ROLE_PHARMACY', 'ROLE_ADMIN')")
 @Override
 public Order getOrderId(int id) {
   return orderDAO.getOrderId(id);
 }
 @Override
 public List getConfirmedOrders(User user, DateTime from) {
   return orderDAO.getUnconfirmedOrders(user, from);
 }