Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 410 for doDelete (0.16 sec)

  1. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

        }
    
        // Test basic delete operation
        public void test_delete_normalUser() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            User user = createTestUser("testuser", "Test User");
    
            chain.delete(user);
    
            assertEquals(1, chain.deleteCalls.size());
            assertEquals(user, chain.deleteCalls.get(0));
        }
    
        // Test delete with null user
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test with multiple permissions
            testUser.setPermissions(new String[] { "read", "write", "delete" });
            permissions = fessUserBean.getPermissions();
            assertEquals(3, permissions.length);
            assertEquals("read", permissions[0]);
            assertEquals("write", permissions[1]);
            assertEquals("delete", permissions[2]);
        }
    
        public void test_getRoles() {
            // Test with empty roles
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

         * </p>
         *
         * @param dictId the dictionary ID to delete the character mapping item from
         * @param charMappingItem the character mapping item to delete
         */
        public void delete(final String dictId, final CharMappingItem charMappingItem) {
            getCharMappingFile(dictId).ifPresent(file -> {
                file.delete(charMappingItem);
            });
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            });
    
        }
    
        /**
         * Deletes a specific job log from the database.
         *
         * @param jobLog the job log to delete
         */
        public void delete(final JobLog jobLog) {
    
            jobLogBhv.delete(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            .build()
        assertThat(head.method).isEqualTo("HEAD")
        assertThat(head.body).isNull()
    
        val delete =
          Request
            .Builder()
            .url("http://localhost/api")
            .delete()
            .build()
        assertThat(delete.method).isEqualTo("DELETE")
        assertThat(delete.body!!.contentLength()).isEqualTo(0L)
    
        val post =
          Request
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                if (isCommit) {
                    try {
                        dictionaryManager.store(StopwordsFile.this, newFile);
                    } finally {
                        newFile.delete();
                    }
                } else {
                    newFile.delete();
                }
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

        /**
         * Deletes a protected words item.
         * @param dictId the dictionary ID
         * @param protwordsItem the item to delete
         */
        public void delete(final String dictId, final ProtwordsItem protwordsItem) {
            getProtwordsFile(dictId).ifPresent(file -> {
                file.delete(protwordsItem);
            });
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/UserService.java

         * Removes the user from both the authentication manager and the database.
         *
         * @param user the user entity to delete
         */
        public void delete(final User user) {
            ComponentUtil.getAuthenticationManager().delete(user);
    
            userBhv.delete(user, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

        }
    
        // DELETE /api/admin/group/setting/{id}
        /**
         * Deletes a specific group setting.
         * Prevents deletion of the currently logged-in user's group for security.
         *
         * @param id the group setting ID to delete
         * @return JSON response with deletion status
         */
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

         * @param id the ID of the boost document rule to delete
         * @return JSON response indicating the deletion status
         */
        // DELETE /api/admin/boostdoc/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            boostDocumentRuleService.getBoostDocumentRule(id).ifPresent(entity -> {
                try {
                    boostDocumentRuleService.delete(entity);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top