main
Last change
on this file since db39d9e was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | package com.example.rezevirajmasa.demo.service;
|
---|
2 |
|
---|
3 | import com.example.rezevirajmasa.demo.model.Customer;
|
---|
4 | import com.example.rezevirajmasa.demo.model.Reservation;
|
---|
5 | import com.example.rezevirajmasa.demo.model.Restaurant;
|
---|
6 | import com.example.rezevirajmasa.demo.model.TableEntity;
|
---|
7 |
|
---|
8 | import java.time.LocalDateTime;
|
---|
9 | import java.util.List;
|
---|
10 |
|
---|
11 | public interface ReservationService {
|
---|
12 | public void makeReservation(Customer customer, TableEntity table, Restaurant restaurant, LocalDateTime localDateTime, LocalDateTime checkInTime, int partySize, String specialRequests);
|
---|
13 | public Reservation makeReservationRest(Reservation reservation);
|
---|
14 | public List<Reservation> listAll();
|
---|
15 | public Reservation findById(Long id);
|
---|
16 | public Reservation getReservationById(Long reservationId);
|
---|
17 | public boolean cancelReservation(Long reservationId);
|
---|
18 | public List<Reservation> findReservationByCustomer(Customer customer);
|
---|
19 | public List<Reservation> findReservationsByTableAndDateRange(TableEntity table, LocalDateTime startDateTime, LocalDateTime endDateTime);
|
---|
20 | List<Reservation> findReservationsToMove(LocalDateTime currentTime);
|
---|
21 | void deleteReservation(Long reservationID);
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.