⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 articledao.java

📁 JEECMS此次版本升级相比之前的2.0版本做了比较大的改进
💻 JAVA
字号:
package com.jeecms.article.dao;

import com.jeecms.article.entity.Article;
import com.jeecms.core.JeeCoreDao;
import com.ponyjava.common.page.Pagination;

public interface ArticleDao extends JeeCoreDao<Article> {
	public Pagination getForTag(Long webId, Long chnlId, Long ctgId,
			String searchKey, Boolean hasTitleImg, boolean recommend,
			int orderBy, boolean isPage, int firstResult, int pageNo,
			int pageSize);

	/**
	 * 获得文章分页数据
	 * 
	 * @param chnlIds
	 * @param pageNo
	 * @param count
	 * @return
	 */
	public Pagination getPage(Long[] chnlIds, int pageNo, int count);

	/**
	 * 下一篇文章
	 * 
	 * @param webId
	 * @param artiId
	 * @return
	 */
	public Article getNextArticle(Long webId, Long artiId);

	/**
	 * 上一篇文章
	 * 
	 * @param webId
	 * @param artiId
	 * @return
	 */
	public Article getPreArticle(Long webId, Long artiId);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -