source: src/main/java/com/example/baza/service/PozajmicaService.java

Last change on this file was ed20c2c, checked in by HumaSejdini <humasejdini12@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 992 bytes
Line 
1package com.example.baza.service;
2
3
4import com.example.baza.model.*;
5
6import javax.transaction.Transactional;
7import java.time.LocalDate;
8import java.util.List;
9import java.util.Optional;
10import java.util.Set;
11
12public interface PozajmicaService {
13 Pozajmica findById(Integer id);
14 List<Pozajmica> listAll();
15 Pozajmica create(LocalDate datumNaZemanje, LocalDate datumNaVrakjanje, Boolean status, Bibliotekar2 bibliotekar, Chlen2 chlen, InstancaOdKniga instancaOdKniga);
16 Pozajmica update(Integer id,LocalDate datumNaZemanje, LocalDate datumNaVrakjanje, Boolean status, Bibliotekar2 bibliotekar, Chlen2 chlen, InstancaOdKniga instancaOdKniga);
17
18 @Transactional
19 Pozajmica save(LocalDate datumNaZemanje, LocalDate datumNaVrakjanje, Boolean status, Bibliotekar2 bibliotekar, Chlen2 chlen, InstancaOdKniga instanca);
20 //Pozajmica save(LocalDate datumNaZemanje, LocalDate datumNaVrakjanje, Boolean status, Bibliotekar2 bibliotekar, Chlen2 chlen, InstancaOdKniga instanca);
21
22}
Note: See TracBrowser for help on using the repository browser.