package com.solon.service.spec;

import java.util.List;
import java.util.Map;

import com.solon.dto.Article;


public interface IArticleService {
	
	List<Article> findAll();
	
	List<Article> findByType(int type);
	
	Article findById(int id);

	void insert(Article product);

	void remove(int id);

	void update(Article product);
	 
	int articleCount(Map<String, String> condition);
	
    List<Article> getArticleByPaging(Map<String, String> condition, int page);
}
