Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for selectByPK (0.06 sec)

  1. src/main/java/org/codelibs/fess/es/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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

        @Resource
        protected FessConfig fessConfig;
    
        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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

            return relatedContentList;
        }
    
        public OptionalEntity<RelatedContent> getRelatedContent(final String id) {
            return relatedContentBhv.selectByPK(id);
        }
    
        public void store(final RelatedContent relatedContent) {
    
            relatedContentBhv.insertOrUpdate(relatedContent, op -> op.setRefreshPolicy(Constants.TRUE));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

            }).createPageNumberList());
    
            return duplicateHostList;
        }
    
        public OptionalEntity<DuplicateHost> getDuplicateHost(final String id) {
            return duplicateHostBhv.selectByPK(id);
        }
    
        public void store(final DuplicateHost duplicateHost) {
    
            duplicateHostBhv.insertOrUpdate(duplicateHost, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

            return relatedQueryList;
        }
    
        public OptionalEntity<RelatedQuery> getRelatedQuery(final String id) {
            return relatedQueryBhv.selectByPK(id);
        }
    
        public void store(final RelatedQuery relatedQuery) {
    
            relatedQueryBhv.insertOrUpdate(relatedQuery, op -> op.setRefreshPolicy(Constants.TRUE));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/GroupService.java

            }).createPageNumberList());
    
            return groupList;
        }
    
        public OptionalEntity<Group> getGroup(final String id) {
            return groupBhv.selectByPK(id).map(g -> {
                ComponentUtil.getLdapManager().apply(g);
                return g;
            });
        }
    
        public void store(final Group group) {
            ComponentUtil.getLdapManager().insert(group);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/RoleService.java

            }).createPageNumberList());
    
            return roleList;
        }
    
        public OptionalEntity<Role> getRole(final String id) {
            return roleBhv.selectByPK(id);
        }
    
        public void store(final Role role) {
            ComponentUtil.getLdapManager().insert(role);
    
            roleBhv.insertOrUpdate(role, op -> {
                op.setRefreshPolicy(Constants.TRUE);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/BoostDocumentRuleService.java

            return boostDocumentRuleList;
        }
    
        public OptionalEntity<BoostDocumentRule> getBoostDocumentRule(final String id) {
            return boostDocumentRuleBhv.selectByPK(id);
        }
    
        public void store(final BoostDocumentRule boostDocumentRule) {
    
            boostDocumentRuleBhv.insertOrUpdate(boostDocumentRule, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top