- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getProtwordsItem (0.08 seconds)
-
src/main/java/org/codelibs/fess/app/service/ProtwordsService.java
* Gets a specific protected words item by ID. * @param dictId the dictionary ID * @param id the item ID * @return the protected words item if found */ public OptionalEntity<ProtwordsItem> getProtwordsItem(final String dictId, final long id) { return getProtwordsFile(dictId).map(file -> file.get(id).get()); } /** * Stores a protected words item (insert or update).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/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(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 20.1K bytes - Click Count (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)));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)