Package org.exoplatform.task.dao
Interface TaskHandler
- All Known Implementing Classes:
TaskDAOImpl
- Version:
- $Revision$
- Author:
- Trong Tran
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddWatcherToTask(String username, Task task) countAssignedTasks(String user) countCollaboratedTasks(String user) countOverdueTasks(String user) longcountTasks(String user, String query) Count tasks assigned to a user using a search term to find in title or description of the taskcountTaskStatusByProject(long projectId) countUncompletedTasks(String user) countWatchedTasks(String user) voiddeleteWatcherOfTask(String username, Task task) findAllByMembership(String user, List<String> memberships) findByUser(String user) findTaskByActivityId(String activityId) Find tasks assigned to a user using a term to find in title or description of the taskorg.exoplatform.commons.utils.ListAccess<Task> org.exoplatform.commons.utils.ListAccess<Task> findTasksByLabel(long labelId, List<Long> projectIds, String username, OrderBy orderBy) getAssignedTasks(String user, int limit) getByStatus(long statusid) getCollaboratedTasks(String user, int limit) getCoworker(long taskid) org.exoplatform.commons.utils.ListAccess<Task> getIncomingTasks(String user) getOverdueTasks(String user, int limit) getTaskWithCoworkers(long id) getUncompletedTasks(String user, int limit) getWatchedTasks(String user, int limit) getWatchersOfTask(Task task) <T> List<T> selectTaskField(TaskQuery query, String fieldName) voidupdateStatus(Status stOld, Status stNew) voidupdateTaskOrder(long currentTaskId, Status newStatus, long[] orders) Methods inherited from interface org.exoplatform.commons.api.persistence.GenericDAO
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, update, updateAll
-
Method Details
-
findTasksByLabel
-
findByUser
-
findTasks
-
findAllByMembership
-
selectTaskField
-
findTaskByActivityId
-
updateStatus
-
updateTaskOrder
-
getCoworker
-
getTaskWithCoworkers
-
getUncompletedTasks
-
getWatchedTasks
-
countWatchedTasks
-
getCollaboratedTasks
-
countCollaboratedTasks
-
getAssignedTasks
-
countAssignedTasks
-
getByStatus
-
countUncompletedTasks
-
getIncomingTasks
-
getOverdueTasks
-
countOverdueTasks
-
addWatcherToTask
- Throws:
Exception
-
deleteWatcherOfTask
- Throws:
Exception
-
getWatchersOfTask
-
findTasks
Find tasks assigned to a user using a term to find in title or description of the task -
countTasks
Count tasks assigned to a user using a search term to find in title or description of the task- Parameters:
user- usernamequery- term to search in title or description- Returns:
- tasks count
-
countTaskStatusByProject
-