- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getProtwordsFile (0.13 sec)
-
src/main/java/org/codelibs/fess/app/service/ProtwordsService.java
public OptionalEntity<ProtwordsFile> getProtwordsFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId).filter(ProtwordsFile.class::isInstance) .map(file -> OptionalEntity.of((ProtwordsFile) file)).orElse(OptionalEntity.empty()); } public OptionalEntity<ProtwordsItem> getProtwordsItem(final String dictId, final long id) { return getProtwordsFile(dictId).map(file -> file.get(id).get());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
public JsonResponse<ApiResult> post$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; });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.2K bytes - Viewed (0)