public class ProjectController extends AbstractController
AbstractController.MSG_TYPE| Constructor and Description |
|---|
ProjectController() |
| Modifier and Type | Method and Description |
|---|---|
juzu.Response |
changeProjectColor(Long projectId,
String color) |
juzu.Response |
cloneProject(Long id,
String cloneTask,
juzu.request.SecurityContext securityContext) |
juzu.Response |
createProject(String space_group_id,
String name,
String description,
Long parentId,
Boolean calInteg,
juzu.request.SecurityContext securityContext) |
juzu.Response |
deleteProject(Long projectId,
Boolean deleteChild) |
juzu.Response |
findPermission(String keyword) |
juzu.Response |
findProject(String keyword,
Long currentProject) |
juzu.Response |
getBreadCumbs(Long id,
Boolean isBreadcrumb) |
juzu.Response |
openConfirmDelete(Long id) |
juzu.Response |
openGroupSelector(String type,
Boolean onlyGroup) |
juzu.Response |
openShareDialog(Long id) |
juzu.Response |
openUserSelector(Long id,
String type,
Integer page,
String keyword,
String filter) |
juzu.Response |
openWarningDialog(String msg) |
juzu.Response |
projectDetail(Long id) |
juzu.Response |
projectForm(Long parentId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
projectTree(String space_group_id,
juzu.request.SecurityContext securityContext) |
juzu.Response |
projectTreeAsJSON(String space_group_id) |
juzu.Response |
savePermission(Long id,
String[] permissions,
String type) |
juzu.Response |
saveProjectInfo(Long projectId,
String parent,
String name,
String description,
String calendarIntegrated) |
beginRequest, buildMSGDialog, endRequest, getNoPermissionMsgpublic juzu.Response projectForm(Long parentId, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response createProject(String space_group_id, String name, String description, Long parentId, Boolean calInteg, 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 cloneProject(Long id, String cloneTask, 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 openConfirmDelete(Long id) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response openShareDialog(Long id) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response openUserSelector(Long id, String type, Integer page, String keyword, String filter) throws org.exoplatform.task.exception.EntityNotFoundException, Exception
org.exoplatform.task.exception.EntityNotFoundExceptionExceptionpublic juzu.Response findPermission(String keyword)
public juzu.Response savePermission(Long id, String[] permissions, String type) 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 projectTree(String space_group_id, juzu.request.SecurityContext securityContext)
public juzu.Response projectTreeAsJSON(String space_group_id) throws org.json.JSONException
org.json.JSONExceptionpublic juzu.Response getBreadCumbs(Long id, Boolean isBreadcrumb) throws org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response projectDetail(Long id) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response saveProjectInfo(Long projectId, String parent, String name, String description, String calendarIntegrated) 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 changeProjectColor(Long projectId, String color) 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 deleteProject(Long projectId, Boolean deleteChild) throws org.exoplatform.task.exception.EntityNotFoundException, org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.EntityNotFoundExceptionorg.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response openWarningDialog(String msg)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.