Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for setRoles (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/service/RoleService.java

                op.setRefreshPolicy(Constants.TRUE);
            });
    
            userBhv.selectCursor(cb -> cb.query().setRoles_Equal(role.getId()), entity -> {
                entity.setRoles(
                        stream(entity.getRoles()).get(stream -> stream.filter(s -> !s.equals(role.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java

        public void setResponseTime(Long value) {
            registerModifiedProperty("responseTime");
            this.responseTime = value;
        }
    
        public String[] getRoles() {
            checkSpecifiedProperty("roles");
            return roles;
        }
    
        public void setRoles(String[] value) {
            registerModifiedProperty("roles");
            this.roles = value;
        }
    
        public String getSearchWord() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                result.setName(DfTypeUtil.toString(source.get(NAME)));
                result.setPassword(DfTypeUtil.toString(source.get(PASSWORD)));
                result.setGroups(toStringArray(source.get(GROUPS)));
                result.setRoles(toStringArray(source.get(ROLES)));
                result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey()))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                return authResult;
            }
    
            public void setGroups(final String[] groups) {
                this.groups = groups;
            }
    
            public void setRoles(final String[] roles) {
                this.roles = roles;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

                result.setRequestedAt(toLocalDateTime(source.get("requestedAt")));
                result.setResponseTime(DfTypeUtil.toLong(source.get("responseTime")));
                result.setRoles(toStringArray(source.get("roles")));
                result.setSearchWord(DfTypeUtil.toString(source.get("searchWord")));
                result.setUser(DfTypeUtil.toString(source.get("user")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

                result.setPreferredLanguage(DfTypeUtil.toString(source.get("preferredLanguage")));
                result.setRegisteredAddress(DfTypeUtil.toString(source.get("registeredAddress")));
                result.setRoles(toStringArray(source.get("roles")));
                result.setRoomNumber(DfTypeUtil.toString(source.get("roomNumber")));
                result.setState(DfTypeUtil.toString(source.get("state")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            mergedItem.languages = langList.toArray(new String[langList.size()]);
    
            final List<String> roleList = new ArrayList<>(item1.getRoles().length + item2.getRoles().length);
            Collections.addAll(roleList, item1.getRoles());
            for (final String role : item2.getRoles()) {
                if (!roleList.contains(role)) {
                    roleList.add(role);
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top