public interface TaskHandler extends org.exoplatform.commons.api.persistence.GenericDAO<Task,Long>
| Modifier and Type | Method and Description |
|---|---|
void |
addWatcherToTask(String username,
Task task) |
Long |
countOverdueTasks(String user) |
long |
countTasks(String user,
String query)
Count tasks assigned to a user using a search term to find in title or
description of the task
|
Long |
countUncompletedTasks(String user) |
void |
deleteWatcherOfTask(String username,
Task task) |
List<Task> |
findByUser(String user) |
Task |
findTaskByActivityId(String activityId) |
List<Task> |
findTasks(String user,
String query,
int limit)
Find tasks assigned to a user using a term to find in title or description
of the task
|
org.exoplatform.commons.utils.ListAccess<Task> |
findTasks(TaskQuery query) |
org.exoplatform.commons.utils.ListAccess<Task> |
findTasksByLabel(long labelId,
List<Long> projectIds,
String username,
OrderBy orderBy) |
Set<String> |
getCoworker(long taskid) |
org.exoplatform.commons.utils.ListAccess<Task> |
getIncomingTasks(String user) |
List<Task> |
getOverdueTasks(String user,
int limit) |
Task |
getTaskWithCoworkers(long id) |
List<Task> |
getUncompletedTasks(String user,
int limit) |
Set<String> |
getWatchersOfTask(Task task) |
<T> List<T> |
selectTaskField(TaskQuery query,
String fieldName) |
void |
updateStatus(Status stOld,
Status stNew) |
void |
updateTaskOrder(long currentTaskId,
Status newStatus,
long[] orders) |
org.exoplatform.commons.utils.ListAccess<Task> findTasksByLabel(long labelId, List<Long> projectIds, String username, OrderBy orderBy)
void updateTaskOrder(long currentTaskId,
Status newStatus,
long[] orders)
Task getTaskWithCoworkers(long id)
void addWatcherToTask(String username, Task task) throws Exception
Exceptionvoid deleteWatcherOfTask(String username, Task task) throws Exception
ExceptionList<Task> findTasks(String user, String query, int limit)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.