Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for selectByPK (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

         * @return an OptionalEntity containing the file authentication if found, empty otherwise
         */
        public OptionalEntity<FileAuthentication> getFileAuthentication(final String id) {
            return fileAuthenticationBhv.selectByPK(id);
        }
    
        /**
         * Stores a file authentication configuration.
         * The parameters are encrypted before storage for security.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top