Examples of ModifyAction


Examples of org.jdesktop.wonderland.common.cell.security.ModifyAction

        // add view permissions for all users
        Principal p = new Principal("users", Principal.Type.EVERYBODY);
        ActionDTO view = new ActionDTO(new ViewAction());
        perms.getPermissions().add(new Permission(
                p, view, Permission.Access.GRANT));
        ActionDTO modify = new ActionDTO(new ModifyAction());
        perms.getPermissions().add(new Permission(
                p, modify, Permission.Access.DENY));

        state.setPermissions(perms);
        return (T) state;
View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.security.ModifyAction

        if (sc == null && psc == null) {
            return out;
        }

        try {
            ModifyAction ma = new ModifyAction();
            ChildrenAction ca = new ChildrenAction();

            if (sc != null) {
                out = sc.getPermission(ma);
            }
View Full Code Here

Examples of org.springframework.yarn.boot.actuate.endpoint.mvc.ContainerClusterModifyRequest.ModifyAction

   * @return the container cluster status response
   */
  @RequestMapping(value = "/{clusterId}", method = RequestMethod.PUT)
  public HttpEntity<Void> modifyCluster(@PathVariable("clusterId") String clusterId,
      @RequestBody ContainerClusterModifyRequest request) {
    ModifyAction action = ContainerClusterModifyRequest.getModifyAction(request.getAction());
    if (action == null) {
      throw new NoSuchActionException("Action " + request.getAction() + " not supported");
    }
    getClusterMayThrow(clusterId);
    if (ModifyAction.START.equals(action)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.