- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for getRoles (0.12 sec)
-
src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/exentity/User.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.8K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
// ======== public String[] getPermissions() { return user.getPermissions(); } public String[] getRoles() { return user.getRoleNames(); } public String[] getGroups() { return user.getGroupNames(); } public boolean isEditable() { return user.isEditable(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java
assertEquals(elevateWord3.getTags().get(0), settings.elevateWord().get()[2].getTags().get(0)); assertEquals(elevateWord3.getRoles().get(0), settings.elevateWord().get()[2].getRoles().get(0)); } @Test public void test_delete() { ElevateWord elevateWord1 =
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
SuggestItem item = items.get(0); assertEquals("検索エンジン", item.getText()); assertEquals("tag1", item.getTags()[0]); assertEquals("role1", item.getRoles()[0]); } protected ReadingConverter createDefaultReadingConverter() throws IOException { ReadingConverterChain chain = new ReadingConverterChain(); // chain.addConverter(new KatakanaConverter());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields()); source.put(ELEVATE_WORD_TAGS, elevateWord.getTags()); source.put(ELEVATE_WORD_ROLES, elevateWord.getRoles()); source.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now())); arraySettings.addToArrayIndex(arraySettings.arraySettingsIndexName, arraySettings.settingsId,
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapUser.java
if (StringUtil.isNotBlank(baseDn) && StringUtil.isNotBlank(accountFilter)) { final LdapManager ldapManager = ComponentUtil.getLdapManager(); permissions = distinct(ArrayUtils.addAll(ldapManager.getRoles(this, baseDn, accountFilter, groupFilter, roles -> { permissions = distinct(roles); ComponentUtil.getActivityHelper().permissionChanged(OptionalThing.of(new FessUserBean(this)));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.7K bytes - Viewed (0) -
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)