public static Group getPermittedGroup(ResultDocumentFilePermissionType permissionType) {
public final static Group getPermittedGroup(FileResultPermittedGroupType permissionType) {
    public static Group getPermittedGroup(ResultDocumentFilePermissionType permissionType) {	switch (permissionType) {	case INSTITUTION:	    return new RoleGroup(Role.getRoleByRoleType(RoleType.PERSON));	    	case PUBLIC:	    return null;	    	case RESEARCHER:	    return new RoleGroup(Role.getRoleByRoleType(RoleType.RESEARCHER));	default:	    return null;	}    }