public class TaskController extends AbstractController
AbstractController.MSG_TYPELOG| Constructor and Description |
|---|
TaskController() |
| Modifier and Type | Method and Description |
|---|---|
juzu.Response |
clone(Long id) |
juzu.Response |
comment(Long taskId,
String comment,
Long parentCommentId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
createStatus(String space_group_id,
String name,
Long projectId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
createTask(Long projectId,
Long labelId,
String taskInput,
String filter,
juzu.request.SecurityContext securityContext) |
juzu.Response |
createTaskInListView(String space_group_id,
String taskTitle,
Long projectId,
Long statusId,
String assignee,
String viewType,
String groupBy,
String orderBy,
juzu.request.SecurityContext securityContext) |
juzu.Response |
delete(Long id,
juzu.request.SecurityContext context) |
juzu.Response |
deleteComment(Long commentId) |
juzu.Response |
detail(Long id,
juzu.request.SecurityContext securityContext) |
juzu.Response |
findLabelByTask(Long taskId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
listTasks(String space_group_id,
Long projectId,
Long labelId,
String filterLabelIds,
String statusId,
String dueDate,
String priority,
String assignee,
Boolean showCompleted,
String keyword,
String groupBy,
String orderBy,
String dueCategory,
String viewType,
Integer page,
juzu.request.SecurityContext securityContext) |
juzu.Response |
loadAllComments(Long taskId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
openConfirmCloneTask(Long id) |
juzu.Response |
openConfirmDeleteTask(Long id) |
juzu.Response |
removeStatus(String space_group_id,
Long statusId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
renderTaskComments(Long id,
Boolean loadAllComment,
juzu.request.SecurityContext securityContext) |
juzu.Response |
renderTaskLogs(Long taskId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
saveDragAndDropTask(Long taskId,
Long newStatusId,
String groupBy,
String oldGroup,
String newGroup,
Boolean needUpdateOrder,
Long[] orders,
juzu.request.SecurityContext context) |
juzu.Response |
saveTaskInfo(Long taskId,
String name,
String[] value,
juzu.request.SecurityContext context) |
juzu.Response |
updateCompleted(Long taskId,
Boolean completed,
juzu.request.SecurityContext securityContext) |
beginRequest, buildMSGDialog, endRequest, getNoPermissionMsgpublic juzu.Response detail(Long id, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response findLabelByTask(Long taskId, juzu.request.SecurityContext securityContext) throws org.json.JSONException
org.json.JSONExceptionpublic juzu.Response renderTaskLogs(Long taskId, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response renderTaskComments(Long id, Boolean loadAllComment, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response clone(Long id) throws org.exoplatform.task.exception.EntityNotFoundException, org.json.JSONException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.json.JSONExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response openConfirmDeleteTask(Long id) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response openConfirmCloneTask(Long id) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response delete(Long id, juzu.request.SecurityContext context) throws org.exoplatform.task.exception.EntityNotFoundException, org.json.JSONException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.json.JSONExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response saveTaskInfo(Long taskId, String name, String[] value, juzu.request.SecurityContext context) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.ParameterEntityException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.ParameterEntityExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response saveDragAndDropTask(Long taskId, Long newStatusId, String groupBy, String oldGroup, String newGroup, Boolean needUpdateOrder, Long[] orders, juzu.request.SecurityContext context) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException, org.exoplatform.task.exception.ParameterEntityException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionorg.exoplatform.task.exception.ParameterEntityExceptionpublic juzu.Response updateCompleted(Long taskId, Boolean completed, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.ParameterEntityException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.ParameterEntityExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response comment(Long taskId, String comment, Long parentCommentId, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.json.JSONException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.json.JSONExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response loadAllComments(Long taskId, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response deleteComment(Long commentId) throws org.exoplatform.task.exception.EntityNotFoundException
org.exoplatform.task.exception.EntityNotFoundExceptionpublic juzu.Response listTasks(String space_group_id, Long projectId, Long labelId, String filterLabelIds, String statusId, String dueDate, String priority, String assignee, Boolean showCompleted, String keyword, String groupBy, String orderBy, String dueCategory, String viewType, Integer page, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response createTask(Long projectId, Long labelId, String taskInput, String filter, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.json.JSONException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.json.JSONExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response createTaskInListView(String space_group_id, String taskTitle, Long projectId, Long statusId, String assignee, String viewType, String groupBy, String orderBy, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response removeStatus(String space_group_id, Long statusId, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.NotAllowedOperationOnEntityException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.NotAllowedOperationOnEntityExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response createStatus(String space_group_id, String name, Long projectId, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.