WFSchemeContentIService.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using LeaRun.Application.Entity.FlowManage;
  2. using System.Collections.Generic;
  3. using System.Data;
  4. namespace LeaRun.Application.IService.FlowManage
  5. {
  6. /// <summary>
  7. /// 版 本 6.1
  8. /// Copyright (c) 2013-2016 上海力软信息技术有限公司
  9. /// 创建人:陈彬彬
  10. /// 日 期:2016.03.04 16:58
  11. /// 描 述:工作流模板内容表操作接口(支持:SqlServer)
  12. /// </summary>
  13. public interface WFSchemeContentIService
  14. {
  15. /// <summary>
  16. /// 获取对象
  17. /// </summary>
  18. /// <param name="contentid">关联id</param>
  19. /// <param name="version">模板版本号</param>
  20. /// <returns></returns>
  21. WFSchemeContentEntity GetEntity(string contentid, string version);
  22. /// <summary>
  23. /// 获取对象列表
  24. /// </summary>
  25. /// <param name="wfSchemeInfoId">工作流模板信息表Id</param>
  26. /// <returns></returns>
  27. IEnumerable<WFSchemeContentEntity> GetEntityList(string wfSchemeInfoId);
  28. /// <summary>
  29. /// 获取对象列表(不包括模板内容)
  30. /// </summary>
  31. /// <param name="wfSchemeInfoId">工作流模板信息表Id</param>
  32. /// <returns></returns>
  33. DataTable GetTableList(string wfSchemeInfoId);
  34. /// <summary>
  35. /// 保存对象
  36. /// </summary>
  37. /// <param name="entity"></param>
  38. /// <param name="keyValue"></param>
  39. /// <returns></returns>
  40. int SaveEntity(WFSchemeContentEntity entity, string keyValue);
  41. }
  42. }