source: src/main/java/com/example/service/EventService.java

Last change on this file was a51a591, checked in by colovik <j.colovik@…>, 14 months ago

final

  • Property mode set to 100644
File size: 407 bytes
Line 
1package com.example.service;
2
3import com.example.model.Enumerations.Status;
4import com.example.model.Event;
5
6import java.util.List;
7import java.util.Optional;
8
9public 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.