source:
Prototype Application/Paw5/src/main/java/finki/paw5/service/PostService.java@
cadbec3
Last change on this file since cadbec3 was eac569a, checked in by , 17 months ago | |
---|---|
|
|
File size: 249 bytes |
Rev | Line | |
---|---|---|
[738b31a] | 1 | package finki.paw5.service; |
2 | ||
[6479fe1] | 3 | import finki.paw5.model.entities.Post; |
[a762b3a] | 4 | import java.util.List; |
5 | import java.util.Optional; | |
[738b31a] | 6 | |
7 | public interface PostService { | |
[6479fe1] | 8 | |
[468b7b6] | 9 | void save (Post post); |
[6479fe1] | 10 | |
[a762b3a] | 11 | List<Post> findAll(); |
12 | ||
13 | Optional<Post> findById(Integer id); | |
[738b31a] | 14 | } |
Note:
See TracBrowser
for help on using the repository browser.