package cn.stylefeng.team.portal.modular.front.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import cn.stylefeng.team.portal.modular.front.pojo.request.CommonComponentRequest;
import cn.stylefeng.team.portal.modular.front.pojo.request.CommonPageRequest;
import cn.stylefeng.team.portal.modular.front.pojo.request.CommonSummaryRequest;
import cn.stylefeng.team.portal.modular.front.pojo.response.CommonSummaryItem;
import cn.stylefeng.team.portal.modular.management.entity.PortalNews;
import cn.stylefeng.team.portal.modular.management.entity.PortalNewsCategory;

import java.util.List;

public interface ComponentNewsService {

    List<PortalNewsCategory> getCategoryList(CommonComponentRequest slideshowSelectListRequest);

    List<CommonSummaryItem> getNewsSummary(CommonSummaryRequest newsSummaryRequest);

    PageResult<PortalNews> getNewsPageList(CommonPageRequest commonPageRequest);

    PortalNews getNewsDetail(Long newsId);

}
