Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for getRoles (0.09 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

        {
            Contributor target = new Contributor();
            target.setRoles( Arrays.asList( "first", "second", "third" ) );
            Contributor source = new Contributor();
            source.setRoles( Arrays.asList( "first", "second", "third" ) );
    
            modelMerger.mergeContributor_Roles( target, source, true, null );
    
            assertThat( target.getRoles(), contains( "first", "second", "third" ) );
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                params.put("Referer", e.getReferer());
                params.put("Languages", e.getLanguages());
                params.put("Virtual Host", e.getVirtualHost());
                params.put("Roles", e.getRoles() != null ? String.join(" ", e.getRoles()) : StringUtil.EMPTY);
                params.put("User Agent", e.getUserAgent());
                e.getSearchFieldLogList().stream().forEach(p -> {
                    params.put(p.getFirst(), p.getSecond());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("score", (item.getQueryFreq() + item.getDocFreq()) * item.getUserBoost());
            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
            secondLine.put("kinds", Arrays.toString(item.getKinds()));
            secondLine.put("@timestamp", item.getTimestamp());
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/bsentity/dbmeta/SearchLogDbm.java

                    "responseTime");
            setupEpg(_epgMap, et -> ((SearchLog) et).getRoles(), (et, vl) -> ((SearchLog) et).setRoles((String[]) vl), "roles");
            setupEpg(_epgMap, et -> ((SearchLog) et).getSearchWord(), (et, vl) -> ((SearchLog) et).setSearchWord(DfTypeUtil.toString(vl)),
                    "searchWord");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                }
    
                if (sb.length() > 0) {
                    final String[] langs = searchLog.getLanguages() == null ? new String[] {} : searchLog.getLanguages().split(",");
                    stream(searchLog.getRoles()).of(stream -> stream.forEach(role -> roles.add(role)));
                    if (fessConfig.isValidSearchLogPermissions(roles.toArray(new String[roles.size()]))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/bsentity/BsUser.java

            registerModifiedProperty("registeredAddress");
            this.registeredAddress = value;
        }
    
        public String[] getRoles() {
            checkSpecifiedProperty("roles");
            return roles;
        }
    
        public void setRoles(String[] value) {
            registerModifiedProperty("roles");
            this.roles = value;
        }
    
        public String getRoomNumber() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final ElevateWord normalized = new ElevateWord(normalizedWord, elevateWord.getBoost(), normalizedReadings, elevateWord.getFields(),
                    elevateWord.getTags(), elevateWord.getRoles());
            settings.elevateWord().add(normalized);
            if (apply) {
                return index(normalized.toSuggestItem());
            }
            return new SuggestIndexResponse(0, 0, null, 0);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        appendJson("referer", entity.getReferer(), buf).append(',');
                        appendJson("languages", entity.getLanguages(), buf).append(',');
                        appendJson("roles", entity.getRoles(), buf).append(',');
                        appendJson("user-agent", entity.getUserAgent(), buf).append(',');
                        appendJson("client-ip", entity.getClientIp(), buf).append(',');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/UserDbm.java

                    "registeredAddress");
            setupEpg(_epgMap, et -> ((User) et).getRoles(), (et, vl) -> ((User) et).setRoles((String[]) vl), "roles");
            setupEpg(_epgMap, et -> ((User) et).getRoomNumber(), (et, vl) -> ((User) et).setRoomNumber(DfTypeUtil.toString(vl)), "roomNumber");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 27K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            }
            return list.stream().map(p -> {
                final String key = p.getFirst();
                if (StringUtil.isEmpty(key) || userBean
                        .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
                                || stream(user.getGroups()).get(stream -> stream.anyMatch(s -> (GROUP_VALUE_PREFIX + s).equals(key))))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top