public class LabelController extends AbstractController
AbstractController.MSG_TYPE| Constructor and Description |
|---|
LabelController() |
| Modifier and Type | Method and Description |
|---|---|
juzu.Response |
changeColor(Long labelId,
String color,
juzu.request.SecurityContext securityContext) |
juzu.Response |
createLabel(String name,
Long parentId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
deleteLabel(Long labelId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
getAllLabels(juzu.request.SecurityContext securityContext) |
juzu.Response |
openConfirmDeleteLabelDialog(Long labelId,
juzu.request.SecurityContext context) |
juzu.Response |
openEditLabelDialog(Long labelId,
juzu.request.SecurityContext context) |
juzu.Response |
toggleHidden(Long labelId,
juzu.request.SecurityContext securityContext) |
juzu.Response |
toggleShowHiddenLabel(juzu.request.SecurityContext securityContext) |
juzu.Response |
updateLabel(Long labelId,
String lblName,
Long parentId,
juzu.request.SecurityContext securityContext) |
beginRequest, buildMSGDialog, endRequest, getNoPermissionMsgpublic juzu.Response getAllLabels(juzu.request.SecurityContext securityContext)
throws org.json.JSONException
org.json.JSONExceptionpublic juzu.Response createLabel(String name, Long parentId, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response openConfirmDeleteLabelDialog(Long labelId, juzu.request.SecurityContext context) throws org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response deleteLabel(Long labelId, juzu.request.SecurityContext securityContext) throws org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response openEditLabelDialog(Long labelId, juzu.request.SecurityContext context) throws org.exoplatform.task.exception.UnAuthorizedOperationException
org.exoplatform.task.exception.UnAuthorizedOperationExceptionpublic juzu.Response changeColor(Long labelId, String color, 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 toggleHidden(Long labelId, 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 toggleShowHiddenLabel(juzu.request.SecurityContext securityContext)
throws org.exoplatform.task.exception.EntityNotFoundException
org.exoplatform.task.exception.EntityNotFoundExceptionpublic juzu.Response updateLabel(Long labelId, String lblName, Long parentId, 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–2017 eXo Platform SAS. All rights reserved.