Last change
on this file was 90317ea, checked in by DenicaKj <dkorvezir@…>, 22 months ago |
Events and Event
|
-
Property mode
set to
100644
|
File size:
629 bytes
|
Rev | Line | |
---|
[f17f34f] | 1 | package com.example.moviezone.service;
|
---|
| 2 |
|
---|
| 3 | import com.example.moviezone.model.Film;
|
---|
[8d49568] | 4 | import com.example.moviezone.model.procedures.FilmsReturnTable;
|
---|
[f17f34f] | 5 |
|
---|
[302b233] | 6 | import java.time.LocalDate;
|
---|
[f17f34f] | 7 | import java.util.List;
|
---|
[eb5426c] | 8 | import java.util.Optional;
|
---|
[f17f34f] | 9 |
|
---|
| 10 | public interface FilmService {
|
---|
| 11 | List<Film> findAllFilms();
|
---|
[302b233] | 12 | Film save(String name, Integer duration, String actors, String genre,
|
---|
[448bd84] | 13 | String age_category, String url, String director, LocalDate start_date,LocalDate end_date);
|
---|
[eb5426c] | 14 | Optional<Film> getFilmById(Long id);
|
---|
[61fed7c] | 15 | List<Film> getFilmsFromCinema(int id);
|
---|
[90317ea] | 16 | List<Film> getFilmsFromCinemaNow(int id);
|
---|
| 17 | List<Film> getFilmsNow();
|
---|
[f17f34f] | 18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.