Rev | Line | |
---|
[a51a591] | 1 | package com.example.service;
|
---|
| 2 |
|
---|
| 3 | import com.example.model.Enumerations.Status;
|
---|
| 4 | import com.example.model.Event;
|
---|
| 5 |
|
---|
| 6 | import java.util.List;
|
---|
| 7 | import java.util.Optional;
|
---|
| 8 |
|
---|
| 9 | public interface EventService {
|
---|
| 10 |
|
---|
| 11 | Event findById(Integer id);
|
---|
| 12 |
|
---|
| 13 | List<Event> findByClient(Integer client_id);
|
---|
| 14 |
|
---|
| 15 | Optional<Event> updateStatus(Integer event_id, Status status);
|
---|
| 16 |
|
---|
| 17 | List<Event> findAll();
|
---|
| 18 |
|
---|
| 19 | void update(Event event);
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.