- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getProtwordsItem (0.12 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
}); } @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, () -> asListHtml(form.dictId)); protwordsService.getProtwordsItem(form.dictId, form.id).ifPresent(entity -> { form.input = entity.getInputValue(); }).orElse(() -> {
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
@Execute public JsonResponse<ApiResult> get$setting(final String dictId, final long id) { return asJson(new ApiResult.ApiConfigResponse() .setting(protwordsService.getProtwordsItem(dictId, id).map(entity -> createEditBody(entity, dictId)).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id)));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ProtwordsService.java
.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()); } public void store(final String dictId, final ProtwordsItem protwordsItem) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.1K bytes - Viewed (0)