- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getProtwordsFile (0.07 seconds)
-
src/main/java/org/codelibs/fess/app/service/ProtwordsService.java
return getProtwordsFile(dictId).map(file -> file.get(id).get()); } /** * Stores a protected words item (insert or update). * @param dictId the dictionary ID * @param protwordsItem the item to store */ public void store(final String dictId, final ProtwordsItem protwordsItem) { getProtwordsFile(dictId).ifPresent(file -> {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
public JsonResponse<ApiResult> put$upload(final String dictId, final UploadForm form) { form.dictId = dictId; validateApi(form, messages -> {}); final ProtwordsFile file = protwordsService.getProtwordsFile(form.dictId).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL)); return null; });
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.4K bytes - Click Count (0)