Package com.founder.fix.fixflow.core.task

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


    //取得第一条任务
    TaskInstance taskInstance = taskEnd.get(0);
    //验证任务中的流程定义名称不为空
    assertNotNull(taskInstance.getProcessDefinitionName());
    //测试分页 取1-9条
    taskEnd = taskQuery.listPage(1, 9);
    //验证取到9条任务
    assertEquals(9, taskEnd.size());
    //重置任务查询
    taskQuery = taskService.createTaskQuery();
    //获取流程定义名称等于TaskServiceTest的任务实例
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.