@@ -0,0 +1,1144 @@
+/*%0A * To change this template, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage cz.muni.fi.pa165.service;%0A%0Aimport cz.muni.fi.pa165.dao.BookCollectionDao;%0Aimport cz.muni.fi.pa165.entity.BookCollection;%0Aimport java.util.List;%0Aimport javax.inject.Inject;%0A%0A/**%0A *%0A * @author xkubist%0A * @email m.kubistel@gmail.com%0A */%0Apublic class BookCollectionServiceImpl implements BookCollectionService %7B%0A    @Inject%0A    BookCollectionDao bookCollectionDao;%0A    %0A    @Override%0A    public void create(BookCollection b)%7B%0A        bookCollectionDao.create(b);%0A    %7D%0A    %0A    @Override%0A    public void delete(BookCollection b)%7B%0A        bookCollectionDao.delete(b);%0A    %7D%0A    %0A    @Override%0A    public void update(BookCollection b)%7B%0A        bookCollectionDao.update(b);%0A    %7D%0A    %0A    @Override%0A    public List%3CBookCollection%3E findAll()%7B%0A        return bookCollectionDao.findAll();%0A    %7D%0A    %0A    @Override%0A    public BookCollection findByName(String Name)%0A    %7B%0A        return bookCollectionDao.findByName(Name);%0A    %7D%0A    %0A    @Override%0A    public BookCollection findById(Long id)%7B%0A        return bookCollectionDao.findById(id);%0A    %7D%0A%7D%0A

create BookCollectionServiceImpl class