public class TaskInfoQueryWrapper extends Object
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.Modifier and Type | Field and Description |
---|---|
protected TaskInfoQuery<? extends TaskInfoQuery<?,?>,? extends TaskInfo> |
taskInfoQuery |
Constructor and Description |
---|
TaskInfoQueryWrapper(TaskInfoQuery<? extends TaskInfoQuery<?,?>,? extends TaskInfo> taskInfoQuery) |
Modifier and Type | Method and Description |
---|---|
TaskInfoQuery<? extends TaskInfoQuery<?,?>,? extends TaskInfo> |
getTaskInfoQuery() |
void |
setTaskInfoQuery(TaskInfoQuery<? extends TaskInfoQuery<?,?>,? extends TaskInfo> taskInfoQuery) |
protected TaskInfoQuery<? extends TaskInfoQuery<?,?>,? extends TaskInfo> taskInfoQuery
public TaskInfoQueryWrapper(TaskInfoQuery<? extends TaskInfoQuery<?,?>,? extends TaskInfo> taskInfoQuery)
public TaskInfoQuery<? extends TaskInfoQuery<?,?>,? extends TaskInfo> getTaskInfoQuery()
public void setTaskInfoQuery(TaskInfoQuery<? extends TaskInfoQuery<?,?>,? extends TaskInfo> taskInfoQuery)
Copyright © 2017 Alfresco. All rights reserved.