source:
Git/src/main/java/com/wediscussmovies/project/service/MovieService.java@
3ded84d
Last change on this file since 3ded84d was 3ded84d, checked in by , 2 years ago | |
---|---|
|
|
File size: 387 bytes |
Rev | Line | |
---|---|---|
[6e7b472] | 1 | package com.wediscussmovies.project.service; |
2 | ||
[3ded84d] | 3 | import com.wediscussmovies.project.model.*; |
[6e7b472] | 4 | |
5 | import java.util.List; | |
[7a0bf79] | 6 | import java.util.Optional; |
[6e7b472] | 7 | |
8 | public interface MovieService { | |
9 | public List<Movie> listAll(); | |
10 | public List<Movie> searchByTitle(String title); | |
[3ded84d] | 11 | public Optional<Movie> findById(Integer id); |
[7a0bf79] | 12 | public Movie save(Movie movie); |
[3ded84d] | 13 | public void deleteById(Integer id); |
[6e7b472] | 14 | } |
Note:
See TracBrowser
for help on using the repository browser.