Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getKuromojiItem (0.11 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

        @Execute
        public JsonResponse<ApiResult> get$setting(final String dictId, final long id) {
            return asJson(new ApiResult.ApiConfigResponse()
                    .setting(kuromojiService.getKuromojiItem(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.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, () -> asListHtml(form.dictId));
            kuromojiService.getKuromojiItem(form.dictId, form.id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

                    .map(file -> OptionalEntity.of((KuromojiFile) file)).orElse(OptionalEntity.empty());
        }
    
        public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) {
            return getKuromojiFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final KuromojiItem kuromojiItem) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top