Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getStemmerOverrideItem (0.13 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, () -> asListHtml(form.dictId));
            stemmerOverrideService.getStemmerOverrideItem(form.dictId, form.id).ifPresent(entity -> {
                form.input = entity.getInput();
                form.output = entity.getOutput();
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

        @Execute
        public JsonResponse<ApiResult> get$setting(final String dictId, final long id) {
            return asJson(new ApiResult.ApiConfigResponse().setting(
                    stemmerOverrideService.getStemmerOverrideItem(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.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

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