Last change
on this file was ed20c2c, checked in by HumaSejdini <humasejdini12@…>, 2 years ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
464 bytes
|
Line | |
---|
1 | package com.example.baza.service;
|
---|
2 |
|
---|
3 | import com.example.baza.model.Avtor;
|
---|
4 | import com.example.baza.model.Chlen2;
|
---|
5 | import com.example.baza.model.Knigi;
|
---|
6 | import com.example.baza.model.Ocena;
|
---|
7 |
|
---|
8 | import java.util.List;
|
---|
9 | import java.util.Optional;
|
---|
10 |
|
---|
11 | public interface OcenaService {
|
---|
12 | Optional<Ocena> findById(Integer id);
|
---|
13 | List<Ocena> findByKomentar(String komentar);
|
---|
14 | Ocena create(Integer ocena, String komentar, Chlen2 chlen, Knigi knigi, Avtor avtor);
|
---|
15 | void delete(Integer id);
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.