package fr.eni.enchere.dal;

import fr.eni.enchere.bo.Article;
import fr.eni.enchere.bo.SearchArticleCritere;

import java.util.List;

public interface ArticleRepository {
    List<Article> findAllArticle();
    List<Article> searchArticle(SearchArticleCritere critere);
    Article findArticleById(int id);
    List<Article> findArticleByTitle(String title);
    void saveArticle(Article article);
    void deleteArticle(int id);
    void updateArticle(int id);
}
