source: src/main/java/com/example/medweb/service/TerminService.java

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
RevLine 
[e5fefbd]1package com.example.medweb.service;
2
3import com.example.medweb.model.Termin;
4import com.example.medweb.model.TerminId;
5
6import java.time.ZonedDateTime;
7import java.util.List;
8import java.util.Optional;
9
10public 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.