Last change
on this file was ef84238, checked in by DenicaKj <dkorvezir@…>, 21 months ago |
Interested in event
|
-
Property mode
set to
100644
|
File size:
538 bytes
|
Rev | Line | |
---|
[f17f34f] | 1 | package com.example.moviezone.service;
|
---|
| 2 |
|
---|
[ef84238] | 3 | import ch.qos.logback.core.encoder.EchoEncoder;
|
---|
[f17f34f] | 4 | import com.example.moviezone.model.Event;
|
---|
| 5 |
|
---|
[302b233] | 6 | import java.time.LocalDate;
|
---|
[f17f34f] | 7 | import java.util.List;
|
---|
[90317ea] | 8 | import java.util.Optional;
|
---|
[f17f34f] | 9 |
|
---|
| 10 | public interface EventService {
|
---|
| 11 | List<Event> findAllEvents();
|
---|
[0fb69cc] | 12 | Event save(LocalDate start_date,String theme,String duration,String repeating,String url);
|
---|
[90317ea] | 13 | List<Event> getEventsNow();
|
---|
| 14 | List<Event> getEventsFromCinema(int id);
|
---|
| 15 | Optional<Event> getEventById(Long id);
|
---|
[ef84238] | 16 | List<Event> getEventsForCustomer(int id);
|
---|
[f17f34f] | 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.