ReservationService.java 480 B

1234567891011121314151617181920212223
  1. package pl.sudra.service;
  2. import pl.sudra.domain.Reservation;
  3. import java.sql.Date;
  4. import java.util.List;
  5. public interface ReservationService {
  6. void addReservation(Reservation reservation);
  7. void editReservation(Reservation reservation);
  8. List<Reservation> getReservations();
  9. void removeReservation(long id);
  10. Reservation getReservation(long id);
  11. void generateReservations(int n);
  12. List<Reservation> findReservations(long boat_id, Date date);
  13. }