source: source/MovieZilla-master/src/main/java/com/example/demo/service/MovieProjectionService.java

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 
1package com.example.demo.service;
2
3import com.example.demo.model.Movie;
4import com.example.demo.model.MovieProjection;
5import com.example.demo.model.dto.MovieProjectionDto;
6import org.springframework.transaction.annotation.Transactional;
7
8import java.util.List;
9import java.util.Optional;
10
11public 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.