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 | |
---|
1 | package com.example.baza.service;
|
---|
2 |
|
---|
3 |
|
---|
4 | import com.example.baza.model.*;
|
---|
5 |
|
---|
6 | import javax.transaction.Transactional;
|
---|
7 | import java.time.LocalDate;
|
---|
8 | import java.util.List;
|
---|
9 | import java.util.Optional;
|
---|
10 | import java.util.Set;
|
---|
11 |
|
---|
12 | public 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.