using LeaRun.Application.Entity.AuthorizeManage;
using System.Collections.Generic;
namespace LeaRun.Application.IService.AuthorizeManage
{
///
/// 版 本 6.1
/// Copyright (c) 2013-2016 上海力软信息技术有限公司
/// 创建人:佘赐雄
/// 日 期:2015.10.27 09:16
/// 描 述:系统功能
///
public interface IModuleService
{
#region 获取数据
///
/// 获取最大编号
///
///
int GetSortCode();
///
/// 功能列表
///
///
IEnumerable GetList();
///
/// 功能实体
///
/// 主键值
///
ModuleEntity GetEntity(string keyValue);
#endregion
#region 验证数据
///
/// 功能编号不能重复
///
/// 编号
/// 主键
///
bool ExistEnCode(string enCode, string keyValue);
///
/// 功能名称不能重复
///
/// 名称
/// 主键
///
bool ExistFullName(string fullName, string keyValue);
#endregion
#region 提交数据
///
/// 删除功能
///
/// 主键
void RemoveForm(string keyValue);
///
/// 保存表单(新增、修改)
///
/// 主键值
/// 功能实体
/// 按钮实体列表
/// 视图实体列表
///
void SaveForm(string keyValue, ModuleEntity moduleEntity, List moduleButtonList, List moduleColumnList);
#endregion
}
}