Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package br.ufc.mandacaru5.dao;
- import java.util.List;
- import br.ufc.mandacaru5.model.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);
- }
Add Comment
Please, Sign In to add comment