Package org.flowable.task.api
Class TaskInfoQueryWrapper
java.lang.Object
org.flowable.task.api.TaskInfoQueryWrapper
This is a helper class to help you work with the
TaskInfoQuery
, without having to care about the awful generics.
Example usage:
TaskInfoQueryWrapper taskInfoQueryWrapper = new TaskInfoQueryWrapper(taskService.createTaskQuery());
List<? extends TaskInfo> taskInfos = taskInfoQueryWrapper.getTaskInfoQuery().or()
.taskNameLike("%task%").taskDescriptionLike("%blah%").endOr().list();
First line can be switched to TaskInfoQueryWrapper taskInfoQueryWrapper = new TaskInfoQueryWrapper(historyService.createTaskQuery()); and the same methods can be used on the result.- Author:
- Joram Barrez
-
Field Summary
Modifier and TypeFieldDescriptionprotected TaskInfoQuery<? extends TaskInfoQuery<?,
?>, ? extends TaskInfo> -
Constructor Summary
ConstructorDescriptionTaskInfoQueryWrapper
(TaskInfoQuery<? extends TaskInfoQuery<?, ?>, ? extends TaskInfo> taskInfoQuery) -
Method Summary
Modifier and TypeMethodDescriptionTaskInfoQuery<? extends TaskInfoQuery<?,
?>, ? extends TaskInfo> void
setTaskInfoQuery
(TaskInfoQuery<? extends TaskInfoQuery<?, ?>, ? extends TaskInfo> taskInfoQuery)
-
Field Details
-
taskInfoQuery
-
-
Constructor Details
-
TaskInfoQueryWrapper
public TaskInfoQueryWrapper(TaskInfoQuery<? extends TaskInfoQuery<?, ?>, ? extends TaskInfo> taskInfoQuery)
-
-
Method Details
-
getTaskInfoQuery
-
setTaskInfoQuery
public void setTaskInfoQuery(TaskInfoQuery<? extends TaskInfoQuery<?, ?>, ? extends TaskInfo> taskInfoQuery)
-