using Learun.Util;
using System.Collections.Generic;
namespace Learun.Application.WorkFlow
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创建人:陈彬彬
/// 日 期:2017.04.17
/// 描 述:工作流实例
///
public interface WfProcessInstanceIBLL
{
#region 获取数据
///
/// 获取流程实例
///
/// 主键
///
WfProcessInstanceEntity GetEntity(string keyValue);
///
/// 获取流程信息列表
///
/// 分页参数
/// 查询条件
///
IEnumerable GetPageList(Pagination pagination, string queryJson);
///
/// 获取我的流程信息列表
///
/// 用户主键
/// 分页参数
/// 查询条件
///
IEnumerable GetMyPageList(string userId, Pagination pagination, string queryJson);
///
/// 获取流程实例信息
///
/// 实例主键
///
IEnumerable GetListByProcessIds(string processId);
///
/// 获取全部流程实例
///
///
///
IEnumerable GetListByAllProcessIds(string processIds);
#endregion
#region 提交数据
///
/// 删除流程实例
///
///
void DeleteEntity(string keyValue);
///
/// 保存流程实例
///
/// 主键
/// 实体
void SaveEntity(string keyValue, WfProcessInstanceEntity entity);
#endregion
}
}