Advertisement
andersonalmada

Untitled

Jul 23rd, 2022
1,149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. package br.ufc.mandacaru5.dao;
  2.  
  3. import java.util.List;
  4.  
  5. import br.ufc.mandacaru5.model.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