using System; using System.Collections.Generic; using System.Text; using Song.Entities; namespace Song.ServiceInterfaces { /// /// 论坛的管理 /// public interface IMessageBoard : WeiSha.Common.IBusinessInterface { #region 论坛主题的管理 /// /// 添加 /// /// 业务实体 void ThemeAdd(MessageBoard entity); /// /// 修改 /// /// 业务实体 void ThemeSave(MessageBoard entity); /// /// 删除 /// /// 业务实体 void ThemeDelete(MessageBoard entity); /// /// 删除,按主键ID; /// /// 实体的主键 void ThemeDelete(int identify); /// /// 获取单一实体对象,按主键ID; /// /// 实体的主键 /// MessageBoard ThemeSingle(int identify); /// /// 取多少条主题 /// /// /// /// MessageBoard[] ThemeCount(int orgid, int couid, string searTxt, int count); MessageBoard[] ThemePager(int orgid, int couid, bool? isDel, bool? isShow, string searTxt, int size, int index, out int countSum); /// /// 分页获取 /// /// 是否删除 /// 课程id /// 是否显示 /// 是否回复 /// 检索字符 /// /// /// /// MessageBoard[] ThemePager(int orgid, int couid, bool? isDel, bool? isShow, bool? isAns, string searTxt, int size, int index, out int countSum); #endregion MessageBoard GetSingle(int identify); /// /// 添加回复留言信息 /// /// void AnswerAdd(MessageBoard entity); /// /// 修改回复信息 /// /// void AnswerSave(MessageBoard entity); /// /// 删除回复信息 /// /// void AnswerDelete(int identify); /// /// 获取单一实体对象,按主键ID; /// /// 实体的主键 /// MessageBoard AnswerSingle(int identify); /// /// 帖子的列表 /// /// /// /// /// /// MessageBoard[] ListPager(string uid, int size, int index, out int countSum); } }