package cn.autoform.web.service.process;
|
|
import java.util.Map;
|
import java.util.concurrent.TimeoutException;
|
|
import cn.autoform.db.entity.ProcessApproval;
|
|
public interface ProcessApprovalService {
|
|
/**
|
* 创建流程定义
|
*/
|
int addProcessApproval(Map<String, Object> map,ProcessApproval pro);
|
|
/**
|
* 删除流程定义
|
*/
|
int deleteProcessApproval(String id);
|
|
/**
|
* 查寻流程定义
|
*/
|
ProcessApproval select(String orgId,String formID);
|
|
/**
|
* 根据表单id,组织机构ID查询流程定义
|
*/
|
ProcessApproval getApproval(ProcessApproval pro);
|
|
/**
|
* 暂时修改查询流程定义
|
*/
|
ProcessApproval selectApp(String formID);
|
|
/**
|
* 部署流程定义
|
* @param result
|
* @return
|
*/
|
int definePeploy(Map<String, Object> result);
|
|
/**
|
* 获得当前执行流程对应参数
|
* @param processDefId
|
* @param processActivityInstId
|
* @param formId
|
* @param dataRowNum
|
* @return
|
*/
|
Map<String, String> getProcessParam(String formId, String tenantID, Integer dataRowNum) throws Exception;
|
Map<String, String> getProcessOneActivityParam(String processIntsId, String processDefId, String formId, String tenantID, Integer dataRowNum) throws Exception;
|
}
|