@@ -0,0 +1,961 @@
+/*%0A * To change this template, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage cz.muni.fi.pa165.facade;%0A%0Aimport cz.muni.fi.pa165.dto.BookCollectionDTO;%0Aimport cz.muni.fi.pa165.dto.CreateBookCollectionDTO;%0Aimport java.util.List;%0A%0A/**%0A *%0A * @author xkubist%0A */%0Apublic interface BookCollectionFacade %7B%0A    /**%0A     * Persists book collection into database%0A     * @param book collection to be persisted%0A     */%0A     void createBookCollection(CreateBookCollectionDTO bookCollection);%0A     %0A    /**%0A     * Returns book collection with given id or null%0A     * @param id%0A     * @return boook collection or null%0A     */%0A    BookCollectionDTO findById(Long id);%0A    %0A    /**%0A     * Preturn list of all book collection form database%0A     * @return boook collections from database%0A     */%0A    List%3CBookCollectionDTO%3E findAll();%0A%0A    /**%0A     * delete book collection with given id%0A     * @param id%0A     */%0A    void delete(Long bookId);%0A%0A    %0A%7D%0A

fix bug in BookCollectionDao class