Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsClickLogBhv.java

        }
    
        public ClickLog selectEntityWithDeletedCheck(CBCall<ClickLogCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
        public OptionalEntity<ClickLog> selectByPK(String id) {
            return facadeSelectByPK(id);
        }
    
        protected OptionalEntity<ClickLog> facadeSelectByPK(String id) {
            return doSelectOptionalByPK(id, typeOfSelectedEntity());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top