| | |
| | | package com.xcong.farmer.cms.modules.core.service; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public interface ICmsCoreService { |
| | |
| | | /** |
| | | * 文章编译 |
| | | * |
| | | * @param id |
| | | * @param templateName |
| | | */ |
| | | void articleProcess(Long id, String templateName, String templatPath); |
| | | void articleProcess(Map<String, Object> data, String templateName, String templatePath); |
| | | |
| | | /** |
| | | * 栏目编译 |
| | | * @param map 栏目页面参数(如: 栏目ID/CODE) |
| | | * @param templateName 模板名称 |
| | | * @param columnOnly 是否只编译当前栏目列表页(如果false,则会编译栏目下所有子栏目或者所有文章) |
| | | */ |
| | | void columnProcess(Map<String, Object> map, String templateName, boolean columnOnly); |
| | | void columnProcess(Map<String, Object> map, String templateName); |
| | | |
| | | /** |
| | | * 批量发布文章 |
| | | * |
| | | * @param data |
| | | * @param templateName |
| | | * @param templatePath |
| | | */ |
| | | void articlesProcess(Map<String, Object> data, List<Long> ids, String templateName, String templatePath); |
| | | |
| | | /** |
| | | * 批量发布栏目 |
| | | * |
| | | * @param map |
| | | * @param templateName |
| | | */ |
| | | void columnsProcess(Map<String, Object> map, List<Long> ids, String templateName); |
| | | |
| | | void indexProcess(Map<String, Object> map, String templateName); |
| | | |
| | | } |