All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.wizzer.app.cms.modules.services.CmsArticleService Maven / Gradle / Ivy

There is a newer version: 5.2.8-zookeeper
Show newest version
package cn.wizzer.app.cms.modules.services;

import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.app.cms.modules.models.Cms_article;
import cn.wizzer.framework.page.Pagination;
import org.nutz.dao.Condition;

public interface CmsArticleService extends BaseService {
    /**
     * 获取文章列表
     *
     * @param pageNumber
     * @param pageSize
     * @param cnd
     * @return
     */
    Pagination getListPage(int pageNumber, int pageSize, Condition cnd);

    /**
     * 从缓存根据条件查询一篇文章
     *
     * @param cnd
     * @return
     */
    Cms_article getArticle(Condition cnd);

    /**
     * 清空缓存
     */
    void clearCache();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy