public class TaskController extends AbstractController
AbstractController.MSG_TYPE| Modifier and Type | Field and Description |
|---|---|
static int |
MIN_NUMBER_TASK_GROUPABLE |
LOG| Constructor and Description |
|---|
TaskController() |
| Modifier and Type | Method and Description |
|---|---|
juzu.Response |
clone(Long id) |
juzu.Response |
comment(Long taskId,
String comment,
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 |
findTags(String keyword) |
juzu.Response |
listTasks(String space_group_id,
Long projectId,
Long labelId,
String filterLabelIds,
String tags,
String statusId,
String dueDate,
String priority,
String assignee,
Boolean showCompleted,
String keyword,
String groupBy,
String orderBy,
String filter,
String viewType,
Integer page,
juzu.request.SecurityContext securityContext) |
juzu.Response |
loadAllComments(Long taskId,
juzu.request.SecurityContext securityContext) |
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 |
saveTaskInfo(Long taskId,
String name,
String[] value,
juzu.request.SecurityContext context) |
juzu.Response |
saveTaskOrder(Long taskId,
Long newStatusId,
Long[] orders) |
juzu.Response |
updateCompleted(Long taskId,
Boolean completed,
juzu.request.SecurityContext securityContext) |
beginRequest, buildMSGDialog, endRequest, getNoPermissionMsgpublic static final int MIN_NUMBER_TASK_GROUPABLE
public 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 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 saveTaskOrder(Long taskId, Long newStatusId, Long[] orders) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic 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, 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 tags, String statusId, String dueDate, String priority, String assignee, Boolean showCompleted, String keyword, String groupBy, String orderBy, String filter, 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 findTags(String keyword) throws org.json.JSONException
org.json.JSONExceptionpublic 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–2016 eXo Platform SAS. All rights reserved.