public interface TaskService
| Modifier and Type | Method and Description |
|---|---|
Comment |
addCommentToTaskId(long id,
String username,
String comment) |
TaskLog |
addTaskLog(long taskId,
String username,
String msg,
String target) |
Task |
cloneTaskById(long id) |
Task |
createTask(Task task) |
void |
deleteCommentById(long commentId) |
void |
deleteTask(Task task) |
void |
deleteTaskById(long id) |
List<Comment> |
getCommentsByTask(Task task,
int start,
int limit) |
List<Comment> |
getCommentsByTaskId(long id,
int start,
int limit) |
List<Task> |
getIncomingTasksByUser(String username,
OrderBy orderBy) |
Long |
getNbOfCommentsByTask(Task task) |
Task |
getTaskById(long id) |
long |
getTaskNum(String username,
List<Long> projectIds) |
List<Task> |
getToDoTasksByUser(String username,
List<Long> projectIds,
OrderBy orderBy,
Date fromDueDate,
Date toDueDate) |
Task |
updateTaskCompleted(long id,
Boolean completed) |
Task |
updateTaskInfo(long id,
String param,
String[] values) |
Task updateTaskInfo(long id, String param, String[] values) throws TaskNotFoundException, ParameterEntityException, StatusNotFoundException
Task updateTaskCompleted(long id, Boolean completed) throws TaskNotFoundException, ParameterEntityException, StatusNotFoundException
void deleteTask(Task task)
void deleteTaskById(long id)
throws TaskNotFoundException
TaskNotFoundExceptionTask cloneTaskById(long id) throws TaskNotFoundException
TaskNotFoundExceptionTask getTaskById(long id) throws TaskNotFoundException
TaskNotFoundExceptionList<Comment> getCommentsByTaskId(long id, int start, int limit) throws TaskNotFoundException
TaskNotFoundExceptionComment addCommentToTaskId(long id, String username, String comment) throws TaskNotFoundException
TaskNotFoundExceptionvoid deleteCommentById(long commentId)
throws CommentNotFoundException
CommentNotFoundExceptionList<Task> getToDoTasksByUser(String username, List<Long> projectIds, OrderBy orderBy, Date fromDueDate, Date toDueDate)
TaskLog addTaskLog(long taskId, String username, String msg, String target) throws TaskNotFoundException
TaskNotFoundExceptionCopyright © 2003–2015 eXo Platform SAS. All rights reserved.