Package org.vosao.enums

Examples of org.vosao.enums.FolderPermissionType


          Long.valueOf(vo.get("folderId")));
      if (folder == null) {
        throw new ServiceException(Messages.get("folder.not_found",
            vo.get("folderId")));
      }
      FolderPermissionType perm = FolderPermissionType.valueOf(
        vo.get("permission"));
      getBusiness().getFolderPermissionBusiness().setPermission(
          folder, group, perm);
      return ServiceResponse.createSuccessResponse(
        Messages.get("folder.permission_success_save"));
View Full Code Here


              GroupEntity group = getDao().getGroupDao().getByName(groupName);
              if (group == null) {
                logger.error("Group " + groupName + " was not found.");
                continue;
              }
              FolderPermissionType permType = FolderPermissionType.valueOf(
                  element.elementText("permissionType"));
              getBusiness().getFolderPermissionBusiness().setPermission(
                  folder, group, permType);
            }
    }   
View Full Code Here

  private void readFolderPermissions(Element element, FolderEntity folder) {
    for (Element permElement : (List<Element>)element.elements("permission")) {
      GroupEntity group = getDao().getGroupDao().getByName(
        permElement.elementText("group"));
      FolderPermissionType permission = FolderPermissionType.valueOf(
        permElement.elementText("permissionType"));
      getBusiness().getFolderPermissionBusiness().setPermission(
          folder, group, permission);
    }
  }
View Full Code Here

TOP

Related Classes of org.vosao.enums.FolderPermissionType

Copyright © 2018 www.massapicom. 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.