Last change
on this file was e5fefbd, checked in by Anita Terziska <63020646+Nit4e@…>, 2 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
630 bytes
|
Rev | Line | |
---|
[e5fefbd] | 1 | package com.example.medweb.service;
|
---|
| 2 |
|
---|
| 3 | import com.example.medweb.model.Termin;
|
---|
| 4 | import com.example.medweb.model.TerminId;
|
---|
| 5 |
|
---|
| 6 | import java.time.ZonedDateTime;
|
---|
| 7 | import java.util.List;
|
---|
| 8 | import java.util.Optional;
|
---|
| 9 |
|
---|
| 10 | public interface TerminService {
|
---|
| 11 |
|
---|
| 12 | Optional<Termin> findTerminById(TerminId terminId);
|
---|
| 13 | List<Termin> findTerminByTermin_id(Integer termin_id);
|
---|
| 14 | Termin findOneTerminByTerminId (Integer termin_id);
|
---|
| 15 | void save (Termin termin);
|
---|
| 16 | void deleteTermin (Termin termin);
|
---|
| 17 | List<Termin> findOnlyFutureAndFree (ZonedDateTime now);
|
---|
| 18 | List<Termin> findOnlyFutureAndFreeAndByDoktor (ZonedDateTime now, Integer doktor_id);
|
---|
| 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.