Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 274 for doDelete (0.16 seconds)

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

  1. src/main/java/org/codelibs/fess/annotation/Secured.java

     * public void create(Contact contact);
     *
     * @Secured({ "ROLE_USER", "ROLE_ADMIN" })
     * public void update(Contact contact);
     *
     * @Secured({ "ROLE_ADMIN" })
     * public void delete(Contact contact);
     * </pre>
     */
    @Target({ ElementType.METHOD, ElementType.TYPE })
    @Retention(RetentionPolicy.RUNTIME)
    @Inherited
    @Documented
    public @interface Secured {
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

        }
    
        @Test
        public void test_delete() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
            CurlRequest request = curlHelper.delete("/test");
    
            assertNotNull(request);
            // The request should be properly created
        }
    
        @Test
        public void test_request_withMethodAndPath() {
            setupMockConfig("localhost:9200", "", "");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

        private File file1;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
            FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8));
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            super.tearDown(testInfo);
        }
    
        private void deleteDirectory(Path dir) throws IOException {
            Files.walk(dir).sorted((a, b) -> b.compareTo(a)).forEach(path -> {
                try {
                    Files.delete(path);
                } catch (IOException e) {
                    // Ignore
                }
            });
        }
    
        @Test
        public void test_getThemeName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  5. .github/workflows/update-jdks.yml

              commit-message: "Update jdks.yaml"
              add-paths: .teamcity/jdks.yaml
              title: "Update jdks.yaml"
              body: "This PR updates JDK to the latest versions available in `.teamcity/jdks.yaml`."
              delete-branch: true
              branch: "devprod/update-jdks"
              branch-suffix: timestamp
              labels: |
                in:building-gradle
                @dev-productivity
          - name: Trigger a build
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 09 22:14:16 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

         * Deletes a web authentication configuration.
         *
         * @param form the edit form containing the ID of the web authentication to delete
         * @return HTML response redirecting to the list page after deletion
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS, this::asListHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            }
    
            /**
             * Deletes a single file and any empty parent directories.
             *
             * @param path the file path to delete
             */
            protected void deleteFile(final Path path) {
                try {
                    Files.delete(path);
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleted thumbnail file: {}", path);
                    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                    final long primaryTerm = getLongValue(result, "_primary_term");
    
                    // Try to delete with optimistic concurrency
                    try (CurlResponse deleteResponse = ComponentUtil.getCurlHelper() //
                            .delete("/" + getIndexName() + "/_doc/" + operationName //
                                    + "?refresh=true&if_seq_no=" + seqNo + "&if_primary_term=" + primaryTerm) //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

            try {
                final boolean deleted = storage.delete(BlobId.of(bucket, objectName));
                if (!deleted && logger.isDebugEnabled()) {
                    logger.debug("Object may not exist: {}", objectName);
                }
            } catch (final Exception e) {
                throw new StorageException("Failed to delete " + objectName, e);
            }
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsDuplicateHost.java

            sb.append(dm).append(sortOrder);
            sb.append(dm).append(updatedBy);
            sb.append(dm).append(updatedTime);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top