using Learun.Util;
using System.Collections.Generic;
using Learun.Application.AppMagager.Function;
namespace Learun.Application.AppMagager
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创建人:陈彬彬
/// 日 期:2018.03.16
/// 描 述:移动端功能管理
///
public interface FunctionIBLL
{
#region 获取数据
IEnumerable GetDesktopList(string type);
///
/// 获取分页列表
///
/// 分页参数
/// 关键字
/// 分类
///
IEnumerable GetPageList(Pagination pagination, string keyword, string type);
///
/// 获取列表数据
///
///
IEnumerable GetList(UserInfo userInfo);
///
/// 获取实体对象
///
/// 主键
///
FunctionEntity GetEntity(string keyValue);
///
/// 获取移动功能模板
///
/// 主键
///
FunctionSchemeEntity GetScheme(string keyValue);
///
/// 获取树形移动功能列表
///
///
List GetCheckTree();
#endregion
#region 提交数据
///
/// 删除
///
/// 主键
void Delete(string keyValue);
///
/// 保存
///
/// 主键
/// 功能信息
/// 功能模板信息
void SaveEntity(string keyValue, FunctionEntity functionEntity, FunctionSchemeEntity functionSchemeEntity);
///
/// 更新状态
///
/// 模板信息主键
/// 状态1启用0禁用
void UpdateState(string keyValue, int state);
#endregion
}
}