Last change
on this file was fc7ec52, checked in by darkopopovski <darkopopovski39@…>, 2 years ago |
all files
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | package com.example.demo.service;
|
---|
2 |
|
---|
3 | import com.example.demo.model.Movie;
|
---|
4 | import com.example.demo.model.MovieProjection;
|
---|
5 | import com.example.demo.model.dto.MovieProjectionDto;
|
---|
6 | import org.springframework.transaction.annotation.Transactional;
|
---|
7 |
|
---|
8 | import java.util.List;
|
---|
9 | import java.util.Optional;
|
---|
10 |
|
---|
11 | public interface MovieProjectionService {
|
---|
12 |
|
---|
13 |
|
---|
14 |
|
---|
15 |
|
---|
16 | public List<MovieProjection> findAll() ;
|
---|
17 |
|
---|
18 |
|
---|
19 | public Optional<MovieProjection> findById(Integer projection_id);
|
---|
20 | public void deleteById(Integer projection_id);
|
---|
21 |
|
---|
22 | //public Optional<MovieProjection> findByName(String name);
|
---|
23 |
|
---|
24 |
|
---|
25 | public Optional<MovieProjection> save(Integer projection_id,
|
---|
26 | String projection_movie_start,
|
---|
27 | String projection_movie_end,
|
---|
28 | String projection_screening_date,
|
---|
29 | String projection_type,
|
---|
30 | Float projection_price,Integer movie_id);
|
---|
31 |
|
---|
32 | //public Optional<MovieProjection> save(MovieProjectionDto projectionDto);
|
---|
33 |
|
---|
34 | List<MovieProjection> findByMovieID(Integer movie_id);
|
---|
35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.