Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for insertOrUpdate (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

        }
    
        /**
         * Stores a path mapping.
         *
         * @param pathMapping the path mapping to store
         */
        public void store(final PathMapping pathMapping) {
    
            pathMappingBhv.insertOrUpdate(pathMapping, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            ComponentUtil.getPathMappingHelper().init();
        }
    
        /**
         * Deletes a path mapping.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java

         */
        public void store(final WebAuthentication webAuthentication) {
            webAuthentication.setParameters(ParameterUtil.encrypt(webAuthentication.getParameters()));
            webAuthenticationBhv.insertOrUpdate(webAuthentication, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Deletes a web authentication configuration.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

            });
        }
    
        /**
         * Store a label type.
         *
         * @param labelType The label type to store.
         */
        public void store(final LabelType labelType) {
            labelTypeBhv.insertOrUpdate(labelType, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            final LabelTypeHelper labelTypeHelper = ComponentUtil.getLabelTypeHelper();
            if (labelTypeHelper != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

        }
    
        /**
         * Store the access token.
         * @param accessToken The access token.
         */
        public void store(final AccessToken accessToken) {
    
            accessTokenBhv.insertOrUpdate(accessToken, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        /**
         * Delete the access token.
         * @param accessToken The access token.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

         *
         * @param relatedQuery the RelatedQuery entity to store
         */
        public void store(final RelatedQuery relatedQuery) {
    
            relatedQueryBhv.insertOrUpdate(relatedQuery, op -> op.setRefreshPolicy(Constants.TRUE));
            ComponentUtil.getRelatedQueryHelper().update();
        }
    
        /**
         * Deletes a related query from the database.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RequestHeaderService.java

         *
         * @param requestHeader the request header configuration to store
         */
        public void store(final RequestHeader requestHeader) {
    
            requestHeaderBhv.insertOrUpdate(requestHeader, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Deletes a request header configuration from the database.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

         */
        public void store(final FileAuthentication fileAuthentication) {
            fileAuthentication.setParameters(ParameterUtil.encrypt(fileAuthentication.getParameters()));
            fileAuthenticationBhv.insertOrUpdate(fileAuthentication, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Deletes a file authentication configuration from the system.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

            assertNotNull(target);
        }
    
        // Mock classes
        private static class MockJobLogBhv extends JobLogBhv {
            @Override
            public void insertOrUpdate(JobLog entity) {
                // Mock implementation that doesn't require client
                entity.setLastUpdated(System.currentTimeMillis());
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

            });
        }
    
        /**
         * Stores a scheduled job.
         * @param scheduledJob The scheduled job to store.
         */
        public void store(final ScheduledJob scheduledJob) {
            scheduledJobBhv.insertOrUpdate(scheduledJob, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        /**
         * Gets a list of crawler jobs.
         * @return A list of crawler jobs.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

         */
        public void store(final WebConfig webConfig) {
            webConfig.setConfigParameter(ParameterUtil.encrypt(webConfig.getConfigParameter()));
            webConfigBhv.insertOrUpdate(webConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        /**
         * Sets up the list condition for querying web configurations.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top