You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.bsd.cases.service;
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.bsd.cases.util.AjaxRequest;
|
|
|
|
import com.bsd.cases.util.AjaxResult;
|
|
|
|
import com.bsd.cases.util.PageAjax;
|
|
|
|
import com.bsd.cases.vo.CaseContentBakVo;
|
|
|
|
import com.bsd.cases.vo.CaseContentDetailBakVo;
|
|
|
|
import com.bsd.cases.vo.CaseContentDetailVo;
|
|
|
|
import com.bsd.cases.vo.CaseContentVo;
|
|
|
|
|
|
|
|
import java.io.UnsupportedEncodingException;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public interface CaseContentService<CaseContent> extends BaseService<CaseContent> {
|
|
|
|
JSONObject getContentListByCategoryId(Long categoryId, Integer pageNum, Integer pageSize);
|
|
|
|
|
|
|
|
CaseContentDetailVo getContentDetailByContentId(Long contentId) throws UnsupportedEncodingException;
|
|
|
|
|
|
|
|
AjaxResult saveContent(JSONObject jsonObject);
|
|
|
|
|
|
|
|
AjaxResult delContent(Long contentId);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 后台搜索文章
|
|
|
|
* @param name
|
|
|
|
* @param level1
|
|
|
|
* @param level2
|
|
|
|
* @param level3
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
PageAjax<CaseContentBakVo> searchBakContentByParam(String name, Long level1, Long level2, Long level3, Integer pageNum);
|
|
|
|
|
|
|
|
CaseContentDetailBakVo getCaseContentDetailBakVoByContentID(Long contentId) throws UnsupportedEncodingException;
|
|
|
|
}
|