Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getCharMappingFile (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

        }
    
        public OptionalEntity<CharMappingItem> getCharMappingItem(final String dictId, final long id) {
            return getCharMappingFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final CharMappingItem charMappingItem) {
            getCharMappingFile(dictId).ifPresent(file -> {
                if (charMappingItem.getId() == 0) {
                    file.insert(charMappingItem);
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

                op.setup(form -> {
                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                charMappingService.getCharMappingFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

        public JsonResponse<ApiResult> post$upload(final String dictId, final UploadForm form) {
            form.dictId = dictId;
            validateApi(form, messages -> {});
            final CharMappingFile file = charMappingService.getCharMappingFile(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)
Back to top