Class JCRTasksDAO.TaskListResult
- java.lang.Object
-
- org.ametys.plugins.explorer.tasks.jcr.JCRTasksDAO.TaskListResult
-
- Enclosing class:
- JCRTasksDAO
public static class JCRTasksDAO.TaskListResult extends Object
Simple structure used to store a list of task and some metadata. Used when retrieving a list of task as a result of a search operation.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TaskListResult(List<Task> task, int total)
Task list result constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Task>
getTasks()
Retrieves the tasksint
getTotal()
Retrieves the total
-
-
-
Constructor Detail
-
TaskListResult
protected TaskListResult(List<Task> task, int total)
Task list result constructor- Parameters:
task
- The task list to referencetotal
- number of result before applying the filter and the limit
-
-