Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for selectByPK (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. 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);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. 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.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. 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.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

         * @return an OptionalEntity containing the FailureUrl if found, empty otherwise
         */
        public OptionalEntity<FailureUrl> getFailureUrl(final String id) {
            return failureUrlBhv.selectByPK(id);
        }
    
        /**
         * Stores or updates a failure URL entity in the data store.
         *
         * @param failureUrl the FailureUrl entity to store or update
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. 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 -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. 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);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. 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) {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. 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.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

         * @return an OptionalEntity containing the file configuration if found, empty otherwise
         */
        public OptionalEntity<FileConfig> getFileConfig(final String id) {
            return fileConfigBhv.selectByPK(id);
        }
    
        /**
         * Retrieves a file configuration by its name.
         * If multiple configurations exist with the same name, returns the first one
         * ordered by sort order.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top