Last change
on this file since 61fed7c was 61fed7c, checked in by DenicaKj <dkorvezir@…>, 22 months ago |
Procedure Returns Table Fix
|
-
Property mode
set to
100644
|
File size:
553 bytes
|
Line | |
---|
1 | package com.example.moviezone.service;
|
---|
2 |
|
---|
3 | import com.example.moviezone.model.Film;
|
---|
4 | import com.example.moviezone.model.procedures.FilmsReturnTable;
|
---|
5 |
|
---|
6 | import java.time.LocalDate;
|
---|
7 | import java.util.List;
|
---|
8 | import java.util.Optional;
|
---|
9 |
|
---|
10 | public interface FilmService {
|
---|
11 | List<Film> findAllFilms();
|
---|
12 | Film save(String name, Integer duration, String actors, String genre,
|
---|
13 | String age_category, String url, String director, LocalDate start_date,LocalDate end_date);
|
---|
14 | Optional<Film> getFilmById(Long id);
|
---|
15 | List<Film> getFilmsFromCinema(int id);
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.