You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
1.9 KiB

  1. using Learun.Util;
  2. using System.Collections.Generic;
  3. namespace Learun.Application.Base.SystemModule
  4. {
  5. /// <summary>
  6. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  7. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  8. /// 创建人:陈彬彬
  9. /// 日 期:2017.04.01
  10. /// 描 述:接口管理
  11. /// </summary>
  12. public interface InterfaceIBLL
  13. {
  14. #region 获取数据
  15. /// <summary>
  16. /// 获取列表数据
  17. /// </summary>
  18. /// <returns></returns>
  19. List<InterfaceEntity> GetList();
  20. /// <summary>
  21. /// 获取树形数据列表
  22. /// </summary>
  23. /// <returns></returns>
  24. List<TreeModel> GetTree();
  25. /// <summary>
  26. /// 获取分页列表
  27. /// </summary>
  28. /// <param name="pagination">分页参数</param>
  29. /// <param name="keyword">关键词</param>
  30. /// <returns></returns>
  31. List<InterfaceEntity> GetPageList(Pagination pagination, string keyword);
  32. /// <summary>
  33. /// 获取实体数据
  34. /// </summary>
  35. /// <param name="keyValue">主键</param>
  36. /// <returns></returns>
  37. InterfaceEntity GetEntity(string keyValue);
  38. /// <summary>
  39. /// 获取实体数据
  40. /// </summary>
  41. /// <param name="url">接口地址</param>
  42. /// <returns></returns>
  43. InterfaceEntity GetEntityByUrl(string url);
  44. #endregion
  45. #region 提交数据
  46. /// <summary>
  47. /// 虚拟删除分类数据
  48. /// </summary>
  49. /// <param name="keyValue">主键</param>
  50. void DeleteEntity(string keyValue);
  51. /// <summary>
  52. /// 保存分类数据实体
  53. /// </summary>
  54. /// <param name="keyValue">主键</param>
  55. /// <param name="entity">实体</param>
  56. void SaveEntity(string keyValue, InterfaceEntity entity);
  57. #endregion
  58. }
  59. }