|
- using Learun.Util;
- using System.Collections.Generic;
- namespace Learun.Application.Organization
- {
- /// <summary>
- /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
- /// Copyright (c) 2013-2018 北京泉江科技有限公司
- /// 创建人:陈彬彬
- /// 日 期:2017.03.04
- /// 描 述:角色管理
- /// </summary>
- public interface RoleIBLL
- {
- #region 获取数据
- /// <summary>
- /// 获取角色数据列表
- /// </summary>
- /// <returns></returns>
- List<RoleEntity> GetList();
- /// <summary>
- /// 获取角色数据列表
- /// </summary>
- /// <param name="keyword">关键字</param>
- /// <returns></returns>
- List<RoleEntity> GetList(string keyword);
- /// <summary>
- /// 获取分页数据
- /// </summary>
- /// <param name="pagination">分页参数</param>
- /// <param name="keyword">查询关键词</param>
- /// <returns></returns>
- List<RoleEntity> GetPageList(Pagination pagination, string keyword);
- /// <summary>
- /// 根据角色名获取角色
- /// </summary>
- /// <param name="roleName"></param>
- /// <returns></returns>
- RoleEntity GetRoleByRoleName(string roleName);
- /// <summary>
- /// 获取角色数据列表
- /// </summary>
- /// <param name="roleIds">主键串</param>
- /// <returns></returns>
- IEnumerable<RoleEntity> GetListByRoleIds(string roleIds);
- #endregion
-
- #region 提交数据
- /// <summary>
- /// 虚拟删除角色
- /// </summary>
- /// <param name="keyValue">主键</param>
- void VirtualDelete(string keyValue);
- /// <summary>
- /// 保存角色(新增、修改)
- /// </summary>
- /// <param name="keyValue">主键值</param>
- /// <param name="roleEntity">角色实体</param>
- /// <returns></returns>
- void SaveEntity(string keyValue, RoleEntity roleEntity);
- string GetIdByRoleName(string v);
- #endregion
-
- #region 扩展数据
- /// <summary>
- /// userRelationIBLL.GetUserIdList(objectId);
- /// </summary>
- /// <param name="parentId">父级id</param>
- /// <returns></returns>
- List<TreeModel> GetTree(string parentId);
-
-
- #endregion
- }
- }
|