12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.ViewModel.SystemView;
- using EMIS.Entities;
- using EMIS.ViewModel;
- namespace EMIS.CommonLogic.SystemServices
- {
- public interface IControlItemServices
- {
- /// <summary>
- /// 刷新对应的菜单项
- /// </summary>
- void RefreshCache();
- /// <summary>
- /// 获取需要进行逻辑控制的菜单
- /// </summary>
- /// <returns>返回菜单MenuNo的列表</returns>
- List<string> GetNeedControlMenuNo();
- /// <summary>
- /// 控制菜单,如果不能通过将抛出异常,否则就算通过
- /// </summary>
- /// <param name="menuNo">需要控制的菜单MenuNo</param>
- void CheckControlItems(string menuNo);
- /// <summary>
- /// 获取需要进行逻辑控制的菜单
- /// </summary>
- /// <returns>返回菜单MenuNo和按钮ContextMenuNo的列表</returns>
- List<ContextMenuNoView> GetNeedControlContextMenuNo();
- /// <summary>
- /// 控制按钮,如果不能通过将抛出异常,否则就算通过
- /// </summary>
- /// <param name="contextMenuNoView">需要控制的菜单MenuNo和按钮ContextMenuNo</param>
- void CheckControlItems(ContextMenuNoView contextMenuNoView);
- /// <summary>
- /// 查询相应控制类型的控制信息List
- /// </summary>
- /// <param name="controlItemType"></param>
- /// <returns></returns>
- IList<Sys_ControlItem> GetControlItemList(SYS_ControlItemType controlItemType);
- /// <summary>
- /// 查询登录控制类型的控制信息List
- /// </summary>
- /// <returns></returns>
- IList<Sys_ControlItem> GetLoginControlItemList();
- /// <summary>
- /// 查询相应用户ID的登录控制信息
- /// </summary>
- /// <param name="userID"></param>
- void CheckLoginControlItems(Guid userID);
- }
- }
|