source:
Prototype Application/Paw5/src/main/java/finki/paw5/service/PetService.java@
9a180fd
Last change on this file since 9a180fd was a762b3a, checked in by , 17 months ago | |
---|---|
|
|
File size: 297 bytes |
Rev | Line | |
---|---|---|
[4885da3] | 1 | package finki.paw5.service; |
2 | ||
[468b7b6] | 3 | import finki.paw5.model.entities.Pet; |
[a762b3a] | 4 | import finki.paw5.web.controllers.PostController; |
5 | ||
6 | import java.util.List; | |
7 | import java.util.Optional; | |
[468b7b6] | 8 | |
[4885da3] | 9 | public interface PetService { |
[468b7b6] | 10 | |
11 | void save (Pet pet); | |
[a762b3a] | 12 | |
13 | List<Pet> findAll(); | |
14 | ||
15 | Optional<Pet> findById(Integer petId); | |
[4885da3] | 16 | } |
Note:
See TracBrowser
for help on using the repository browser.