/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.dao;
import cz.muni.fi.pa165.entity.BookCollection;
import java.util.List;

/**
 *
 * @author xkubist
 */
public interface BookCollectionDao {
    /**
     * Creates the BookCollection in database.
     *
     * @param b BookCollection object to be persisted
     * */
    public void create(BookCollection b);
    /**
     * delete the BookCollection from database
     * 
     * @param b BookCollection to be deleted
     */
    public void delete(BookCollection b);
    /**
     * update the BookCollection from database
     * 
     * @param b BookCollection to be deleted
     */
    public void update(BookCollection b);
    /**
     * return list of all BookCollection objects from database 
     * 
     * @return list of all BookCollection objects from database 
     */
    public List<BookCollection> findAll();
    /**
     * return BookCollection objects with target name 
     * 
     * @return BookCollection objects with target name 
     */
    public BookCollection findByName(String Name);
    /**
     * return BookCollection objects with target id 
     * 
     * @return BookCollection objects with target id 
     */
    public BookCollection findById(Long id);
    
}

@@ -402,47 +402,12 @@
 lic 
-void create(BookCollection b);%0A    
 /**%0A
+
     
@@ -510,31 +510,24 @@
      */%0A    
-public 
 void delete(
@@ -665,23 +665,16 @@
  */%0A    
-public 
 void upd
@@ -853,23 +853,16 @@
  */%0A    
-public 
 List%3CBoo
@@ -1016,39 +1016,32 @@
 me %0A     */%0A    
-public 
 BookCollection f
@@ -1195,27 +1195,20 @@
      */%0A
+
     
-public 
 BookColl

fix bug in BookCollectionDao class