public List<TForm> getFormByTaskidAndTaskDefId(String taskId, String taskDefId) { TFormExample tformExample = new TFormExample(); Criteria criteria = tformExample.createCriteria(); String processdefid = activitiManager.findProcessDefinitionEntityByTaskId(taskId).getId(); activitiManager.findProcessDefinitionEntityByTaskId(taskId); criteria.andActIdEqualTo(taskDefId).andProcessdefidEqualTo(processdefid); return tformMapper.selectByExample(tformExample); }
public List<Task> getTaskMonitorList() { // TODO Auto-generated method stub return activitiManager.getTaskMonitorList(); }
/** * 获取节点信息 * * @param id 活动实例id或流程实例id * @param idtype p流程示例id,t活动实例id * @return */ public String getActivityDivXY(String id, String idtype) { return activitiManager.getActivityDivXY(id, idtype); }
public void deleteProcessDef(String deployId) { activitiManager.deleteProcessDef(deployId); }
/** * 部署流程 * * @param filename 部署的zip文件名 */ public void deployProcess(String filename) { activitiManager.flowDeploy(filename); }
public ProcessDefinitionEntity getProcessDefinitionEntity(String processDefId) { return activitiManager.getProcessDefinitionEntity(processDefId); }
public List<ActivityImpl> getActivityList(String processDefId) { return activitiManager.getActivityList(processDefId); }
public Object getFormKey(String taskid) { return activitiManager.getFormKey(taskid); }
/** * 获取监控图 * * @param id 流程实例ID或活动实例ID * @param idtype p是流程实例id,t是活动实例id * @return */ public InputStream getMonitorImgStream(String id, String idtype) { return activitiManager.getMonitorImgStream(id, idtype); }
public InputStream getProcessDefImageStream(String processDefId) { return activitiManager.getProcessDefImageStream(processDefId); }
public List<Task> getTaskList(String userId) { return activitiManager.getTaskListByUserId(userId); }