/* ==================================================================
* Created [2009-4-27 下午11:32:55] by Jon.King
* ==================================================================
* TSS
* ==================================================================
* mailTo:jinpujun@hotmail.com
* Copyright (c) Jon.King, 2009-2012
* ==================================================================
*/
package com.jinhe.tss.cms.service;
import java.util.List;
import com.jinhe.tss.cms.entity.ArticleType;
/**
* ArticleType的Service层接口,定义ArticleType相关的所有业务处理接口
*/
public interface IArticleTypeService {
/**
* <p>
* 新增文章种类
* </p>
* @param articleType
*/
ArticleType createArticleType(ArticleType articleType);
/**
* <p>
* 删除文章种类
* </p>
* @param typeId
* @return
*/
ArticleType deleteArticleType(Long typeId);
/**
* <p>
* 删除文章种类组
* </p>
* @param groupId
* @return
*/
void deleteArticleTypeGroup(Long groupId);
/**
* <p>
* 获取文章种类基本信息
* </p>
* @param typeId
* @return
*/
ArticleType getArticleType(Long typeId);
/**
* <p>
* 获取文章种类所有组
* </p>
* @param condition
* @return
*/
List<?> getArticleTypeGroups();
/**
* <p>
* 更新文章种类
* </p>
* @param articleType
*/
void updateArticleType(ArticleType articleType);
/**
* 获取所有文章种类组和文章列表
* @return
*/
List<?> getArticleTypes();
}