Last change
on this file was ed20c2c, checked in by HumaSejdini <humasejdini12@…>, 2 years ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
669 bytes
|
Rev | Line | |
---|
[ed20c2c] | 1 | package com.example.baza.service;
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 | import com.example.baza.model.*;
|
---|
| 5 |
|
---|
| 6 | import java.util.List;
|
---|
| 7 | import java.util.Set;
|
---|
| 8 | import java.util.*;
|
---|
| 9 | public interface KnigiService {
|
---|
| 10 | Knigi findById(Integer id);
|
---|
| 11 | List<Knigi> findByOpisLike(String opis);
|
---|
| 12 | List<Knigi> findByNaslovLike(String naslov);
|
---|
| 13 | List<Knigi> listAll();
|
---|
| 14 | List<Knigi> findByNaslov(String naslov);
|
---|
| 15 | Knigi create(String naslov, String opis, Izdavac izdavac, Set<Kategorija> kategorijas, Set<Avtor> avtors);
|
---|
| 16 | Knigi update(Integer id,String naslov, String opis, Izdavac izdavac, Set<Kategorija> kategorijas, Set<Avtor> avtors);
|
---|
| 17 | Knigi deletebyId(Integer id);
|
---|
| 18 |
|
---|
| 19 | void delteById(Integer id);
|
---|
| 20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.