package com.yeshi.buwan.service.inter.live;
|
|
import com.yeshi.buwan.domain.live.SuperTVLiveCategory;
|
import com.yeshi.buwan.domain.live.TVLiveCategory;
|
import com.yeshi.buwan.exception.live.TVLiveCategoryException;
|
|
import java.util.List;
|
|
/**
|
* 直播分类服务
|
*/
|
public interface TVLiveCategoryService {
|
|
|
public void addCategory(TVLiveCategory category, List<String> detailSystemList) throws TVLiveCategoryException;
|
|
public void deleteCateogry(List<String> ids);
|
|
public void updateCategory(TVLiveCategory category);
|
|
|
/**
|
* 列表查询
|
*
|
* @param detailSystemId
|
* @param systemId
|
* @param nameKey
|
* @param page
|
* @param pageSize
|
* @return
|
*/
|
public List<TVLiveCategory> list(String detailSystemId, String systemId, String nameKey, int page, int pageSize);
|
|
|
public long count(String detailSystemId, String systemId, String nameKey);
|
|
|
public List<TVLiveCategory> listByIds(List<String> idList);
|
|
|
public List<SuperTVLiveCategory> listSuper(String detailSystemId, int page, int pageSize);
|
|
|
//系统分类映射
|
|
/**
|
* @param superCategory
|
*/
|
|
public void addSuperCategory(SuperTVLiveCategory superCategory);
|
|
public void updateSuperCategory(SuperTVLiveCategory superCategory);
|
|
public void deleteSuperCategory(String id);
|
|
public void deleteSuperCategory(String categoryId, String detailSystemId);
|
|
|
public List<SuperTVLiveCategory> listSuper(String cid);
|
|
public TVLiveCategory selectCategoryBuPrimaryKey(String id);
|
|
}
|