Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 790 for DELETE (0.05 sec)

  1. tests/soft_delete_test.go

    		t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age)
    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    	if sql.NullTime(user.DeletedAt).Time.IsZero() {
    		t.Fatalf("user's deleted at is zero")
    	}
    
    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebAuthenticationBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsertOrUpdate(entity, null, null);
        }
    
        public void delete(WebAuthentication entity) {
            doDelete(entity, null);
        }
    
        public void delete(WebAuthentication entity, RequestOptionCall<DeleteRequestBuilder> opLambda) {
            entity.asDocMeta().deleteOption(opLambda);
            doDelete(entity, null);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/failureurl/log/{id}
        /**
         * Deletes a failure URL log by ID.
         *
         * @param id the failure URL log ID to delete
         * @return JSON response with result status
         */
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            failureUrlService.getFailureUrl(id).ifPresent(entity -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

         *
         * @param id the ID of the crawling info log to delete
         * @return JSON response indicating the deletion status
         */
        // DELETE /api/admin/crawlinginfo/log/{id}
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
                    crawlingInfoService.delete(entity);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_replication.sh

    # configure replication config to remote bucket at http://localhost:9000
    mc replicate add source/bucket --priority 1 --remote-bucket http://repluser:repluser123@localhost:9000/bucket \
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                urlFilterService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter for {}", sid, e);
            }
    
            try {
                // clear queue
                urlQueueService.clearCache();
                urlQueueService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlQueue for {}", sid, e);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/joblog/log/{id}
        /**
         * Deletes a specific job log.
         * Useful for cleaning up old job execution records.
         *
         * @param id the job log ID to delete
         * @return JSON response with deletion status
         */
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

         * After deletion, the related query helper is updated to refresh the cache.
         *
         * @param relatedQuery the RelatedQuery entity to delete
         */
        public void delete(final RelatedQuery relatedQuery) {
    
            relatedQueryBhv.delete(relatedQuery, op -> op.setRefreshPolicy(Constants.TRUE));
            ComponentUtil.getRelatedQueryHelper().update();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        }
    
        /**
         * Delete a stopwords entry.
         *
         * @param form the edit form containing the entry ID to delete
         * @return HTML response redirecting to the list page after successful deletion
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS, form.dictId);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top