Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package mandacaru3.dao;
- import java.util.List;
- import mandacaru3.entities.Product;
- public interface ProductDAO {
- public void save(Product entity);
- public void delete(int id);
- public Product find(int id);
- public List<Product> findAll();
- public Product findByName(String str);
- public List<Product> findAllByName(String str);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement