Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deleteAllWords (0.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/suggest/AdminSuggestAction.java

            saveToken();
            return asHtml(path_AdminSuggest_AdminSuggestJsp).useForm(SuggestForm.class);
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse deleteAllWords() {
            if (!suggestHelper.deleteAllWords()) {
                throwValidationError(messages -> messages.addErrorsFailedToDeleteDocInAdmin(GLOBAL),
                        () -> asHtml(path_AdminSuggest_AdminSuggestJsp).useForm(SuggestForm.class));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

        }
    
        // DELETE /api/admin/suggest/all
        @Execute
        public JsonResponse<ApiResult> delete$all() {
            if (!suggestHelper.deleteAllWords()) {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToDeleteDocInAdmin(GLOBAL));
            }
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top