Advertisement
andersonalmada

Untitled

Jul 6th, 2022
1,405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.35 KB | None | 0 0
  1. package mandacaru3.dao;
  2.  
  3. import java.util.List;
  4.  
  5. import mandacaru3.entities.Product;
  6.  
  7. public interface ProductDAO {
  8.  
  9.     public void save(Product entity);
  10.  
  11.     public void delete(int id);
  12.  
  13.     public Product find(int id);
  14.  
  15.     public List<Product> findAll();
  16.    
  17.     public Product findByName(String str);
  18.  
  19.     public List<Product> findAllByName(String str);
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement