Class JCRTasksDAO.TaskListResult
java.lang.Object
org.ametys.plugins.explorer.tasks.jcr.JCRTasksDAO.TaskListResult
- Enclosing class:
- JCRTasksDAO
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.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
TaskListResult
(List<Task> task, int total) Task list result constructor -
Method Summary
-
Field Details
-
_tasks
task list -
_total
number of result before applying the filter and the limit
-
-
Constructor Details
-
TaskListResult
Task list result constructor- Parameters:
task
- The task list to referencetotal
- number of result before applying the filter and the limit
-
-
Method Details
-
getTasks
Retrieves the tasks- Returns:
- the tasks
-
getTotal
Retrieves the total- Returns:
- the total
-