Examples of processDefinitionNameLike()


Examples of com.founder.fix.fixflow.core.model.ProcessDefinitionQuery.processDefinitionNameLike()

    ProcessDefinitionQuery processDefinitionQuery = processEngine.getModelService().createProcessDefinitionQuery();
    try{
     
      String processName = StringUtil.getString(params.get("queryProcessName"));
      if(StringUtil.isNotEmpty(processName)){
        processDefinitionQuery.processDefinitionNameLike(processName);
      }
      String processId = StringUtil.getString(params.get("queryProcessId"));
      if(StringUtil.isNotEmpty(processId)){
        processDefinitionQuery.processDefinitionKeyLike(processId);
      }
View Full Code Here

Examples of com.founder.fix.fixflow.core.model.ProcessDefinitionQuery.processDefinitionNameLike()

    assertEquals(1, processDefinitionBehaviors.size());
   
    //创建流程定义查询
    processDefinitionQuery = modelService.createProcessDefinitionQuery();
    //查询流程名称like  StartProcessInstanceTest流程的的流程定义
    processDefinitionBehaviors = processDefinitionQuery.processDefinitionNameLike("StartProcessInstanceTest流程").list();
    //验证是否为2个
    assertEquals(2, processDefinitionBehaviors.size());
   
    String processDefinitionId = processDefinitionBehaviors.get(0).getProcessDefinitionId();
   
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.processDefinitionNameLike()

          processInstanceQuery.taskParticipants(userId);
      }
     
      String processDefinitionName     = StringUtil.getString(filter.get("processDefinitionName"));
      if(StringUtil.isNotEmpty(processDefinitionName))
        processInstanceQuery.processDefinitionNameLike(processDefinitionName);
     
      processInstanceQuery.orderByUpdateTime().desc();
      Date dates = null;
      Date datee = null;
      String dss = StringUtil.getString(filter.get("startTimeS"));
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.processDefinitionNameLike()

//        paraObjs.add("%"+processName+"%");
//        queryExpandTo.setLeftJoinSql("left join fixflow_def_processdefinition pd on PD.process_id = E.processdefinition_id");
//        queryExpandTo.setWhereSql(" PD.process_name like ? ");
//        queryExpandTo.setWhereSqlObj(paraObjs);
//        processInstanceQuery.queryExpandTo(queryExpandTo);
        processInstanceQuery.processDefinitionNameLike(processName);
       
      }
      if(StringUtil.isNotEmpty(processInstanceId))
        processInstanceQuery.processInstanceId(processInstanceId);
      if(StringUtil.isNotEmpty(subject))
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.processDefinitionNameLike()

    assertEquals(10, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
    //查询流程定义名称like“TaskServiceTes”的流程实例
    processInstances = processInstanceQuery.processDefinitionNameLike("TaskServiceTes").list();
    //验证是否有10个
    assertEquals(10, processInstances.size());
   
    //重置查询
    processInstanceQuery = runtimeService.createProcessInstanceQuery();
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskQuery.processDefinitionNameLike()

      if(StringUtil.isNotEmpty(bizKey))
        tq.businessKeyLike(bizKey);
     
      String processDefinitionName     = StringUtil.getString(filter.get("processDefinitionName"));
      if(StringUtil.isNotEmpty(processDefinitionName))
        tq.processDefinitionNameLike(processDefinitionName);
     
      Date dates = null;
      Date datee = null;
      String dss = StringUtil.getString(filter.get("arrivalTimeS"));
      String dse = StringUtil.getString(filter.get("arrivalTimeE"));
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskQuery.processDefinitionNameLike()

      if(StringUtil.isNotEmpty(bizKey))
        tq.businessKeyLike(bizKey);
     
      String processDefinitionName     = StringUtil.getString(filter.get("processDefinitionName"));
      if(StringUtil.isNotEmpty(processDefinitionName))
        tq.processDefinitionNameLike(processDefinitionName);
     
      Date dates = null;
      Date datee = null;
      String dss = StringUtil.getString(filter.get("arrivalTimeS"));
      String dse = StringUtil.getString(filter.get("arrivalTimeE"));
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskQuery.processDefinitionNameLike()

    assertEquals(150, count);
   
    //重置任务查询
    taskQuery = taskService.createTaskQuery();
    //获取流程定义名称likeTaskServiceTest的人物实例
    count = taskQuery.processDefinitionNameLike("TaskServiceTest").count();
    //验证是否为150个
    assertEquals(150, count);
   
  }
 
View Full Code Here

Examples of org.activiti.engine.history.HistoricTaskInstanceQuery.processDefinitionNameLike()

    }
    if (queryRequest.getProcessDefinitionName() != null) {
      query.processDefinitionName(queryRequest.getProcessDefinitionName());
    }
    if (queryRequest.getProcessDefinitionNameLike() != null) {
      query.processDefinitionNameLike(queryRequest.getProcessDefinitionNameLike());
    }
    if (queryRequest.getExecutionId() != null) {
      query.executionId(queryRequest.getExecutionId());
    }
    if (queryRequest.getTaskName() != null) {
View Full Code Here

Examples of org.activiti.engine.repository.ProcessDefinitionQuery.processDefinitionNameLike()

    }
    if (allRequestParams.containsKey("name")) {
      processDefinitionQuery.processDefinitionName(allRequestParams.get("name"));
    }
    if (allRequestParams.containsKey("nameLike")) {
      processDefinitionQuery.processDefinitionNameLike(allRequestParams.get("nameLike"));
    }
    if (allRequestParams.containsKey("resourceName")) {
      processDefinitionQuery.processDefinitionResourceName(allRequestParams.get("resourceName"));
    }
    if (allRequestParams.containsKey("resourceNameLike")) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.