using System; using System.Collections.Generic; namespace Learun.Application.IM { /// /// 版 本 Learun-ADMS V7.0.3 力软敏捷开发框架 /// Copyright (c) 2013-2018 上海力软信息技术有限公司 /// 创建人:力软-框架开发组 /// 日 期:2018.05.31 /// 描 述:最近联系人列表 /// public interface IMContactsIBLL { #region 获取数据 /// /// 获取列表数据 /// /// 用户Id /// IEnumerable GetList(string userId); /// /// 获取列表数据 /// /// 用户Id /// 时间 /// IEnumerable GetList(string userId, DateTime time); /// /// 获取实体 /// /// 发送人 /// 接收人 /// IMContactsEntity GetEntity(string userId, string otherUserId); #endregion #region 提交数据 /// /// 保存实体数据(新增、修改) /// 实体数据 /// /// void SaveEntity(IMContactsEntity entity); /// /// 更新记录读取状态 /// /// 自己本身用户ID /// 对方用户ID void UpdateState(string myUserId, string otherUserId); /// /// 删除最近联系人 /// /// 发起者id /// 对方用户ID void DeleteEntity(string myUserId, string otherUserId); #endregion } }