source: src/main/java/com/example/baza/service/KnigiService.java@ bc39b15

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

Initial commit

  • Property mode set to 100644
File size: 669 bytes
Line 
1package com.example.baza.service;
2
3
4import com.example.baza.model.*;
5
6import java.util.List;
7import java.util.Set;
8import java.util.*;
9public 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.