using LeaRun.Application.Entity.FlowManage;
using LeaRun.Util.WebControl;
using System.Data;
namespace LeaRun.Application.IService.FlowManage
{
///
/// 版 本 6.1
/// Copyright (c) 2013-2016 上海力软信息技术有限公司
/// 创建人:陈彬彬
/// 日 期:2016.01.14 11:02
/// 描 述:工作流委托规则表操作接口(支持:SqlServer)
///
public interface WFDelegateRuleIService
{
#region 获取数据
///
/// 获取委托规则分页数据
///
/// 分页参数
/// 查询条件
///
DataTable GetPageList(Pagination pagination, string queryJson, string userId = null);
///
/// 获取流程模板信息列表数据
///
///
DataTable GetSchemeInfoList(string ruleId);
///
/// 获取委托规则实体对象
///
///
///
WFDelegateRuleEntity GetEntity(string keyValue);
///
/// 根据模板信息Id获取委托规则实体
///
///
///
DataTable GetEntityBySchemeInfoId(string shcemeInfoId, string[] objectIdList);
#endregion
#region 提交数据
///
/// 保存委托规则
///
///
int SaveDelegateRule(string keyValue, WFDelegateRuleEntity ruleEntity, string[] shcemeInfoIdlist);
///
/// 删除委托规则
///
///
///
int DeleteRule(string keyValue);
///
/// 使能委托规则
///
///
///
///
int UpdateRuleEnable(string keyValue, int enableMark);
#endregion
}
}