- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for selectByPK (0.06 sec)
-
src/main/java/org/codelibs/fess/opensearch/config/exbhv/ScheduledJobBhv.java
} return indexName; } @Override public OptionalEntity<ScheduledJob> selectByPK(final String id) { Exception lastException = null; for (int i = 0; i < 30; i++) { try { return super.selectByPK(id); } catch (final Exception e) { if (logger.isDebugEnabled()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
return clickLogBhv.selectByPK(id); } if (SearchLogPager.LOG_TYPE_FAVORITE.equalsIgnoreCase(logType)) { return favoriteLogBhv.selectByPK(id); } if (SearchLogPager.LOG_TYPE_USERINFO.equalsIgnoreCase(logType)) { return userInfoBhv.selectByPK(id); } return searchLogBhv.selectByPK(id); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 32.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java
*/ public boolean addUrl(final String userCode, final BiConsumer<UserInfo, FavoriteLog> favoriteLogLambda) { return userInfoBhv.selectByPK(userCode).map(userInfo -> { final FavoriteLog favoriteLog = new FavoriteLog(); favoriteLogLambda.accept(userInfo, favoriteLog); favoriteLogBhv.insert(favoriteLog);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RoleService.java
/** * Gets a role by its ID. * @param id The ID of the role. * @return An optional entity of the role. */ public OptionalEntity<Role> getRole(final String id) { return roleBhv.selectByPK(id); } /** * Stores a role. * @param role The role to store. */ public void store(final Role role) { ComponentUtil.getLdapManager().insert(role);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RelatedContentService.java
* @return an OptionalEntity containing the RelatedContent if found, empty otherwise */ public OptionalEntity<RelatedContent> getRelatedContent(final String id) { return relatedContentBhv.selectByPK(id); } /** * Stores (inserts or updates) a related content entity. * After storing, updates the related content helper to refresh the cache. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
final CronParamsSupplier paramsOp = () -> { final Map<String, Object> params = new HashMap<>(); ComponentUtil.getComponent(ScheduledJobBhv.class) .selectByPK(scheduledJob.getId()) .ifPresent(e -> params.put(Constants.SCHEDULED_JOB, e)) .orElse(() -> { logger.warn("Job {} is not found.", scheduledJob.getId());Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
* @param id the unique identifier of the group * @return an OptionalEntity containing the group if found, empty otherwise */ public OptionalEntity<Group> getGroup(final String id) { return groupBhv.selectByPK(id).map(g -> { ComponentUtil.getLdapManager().apply(g); return g; }); } /** * Stores a group by inserting or updating it in both LDAP and the database.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RoleTypeService.java
* @param id The ID of the role type. * @return An optional entity of the role type. */ public OptionalEntity<RoleType> getRoleType(final String id) { return roleTypeBhv.selectByPK(id); } /** * Stores a role type. * @param roleType The role type to store. */ public void store(final RoleType roleType) { roleTypeBhv.insertOrUpdate(roleType, op -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/KeyMatchService.java
* * @param id The ID of the key match. * @return An optional entity of the key match. */ public OptionalEntity<KeyMatch> getKeyMatch(final String id) { return keyMatchBhv.selectByPK(id); } /** * Store a key match. * * @param keyMatch The key match to store. */ public void store(final KeyMatch keyMatch) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/LabelTypeService.java
* * @param id The ID of the label type. * @return An optional entity of the label type. */ public OptionalEntity<LabelType> getLabelType(final String id) { return labelTypeBhv.selectByPK(id); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.7K bytes - Viewed (0)