Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    public class SynonymService {
        @Resource
        protected DictionaryManager dictionaryManager;
    
        @Resource
        protected FessConfig fessConfig;
    
        public List<SynonymItem> getSynonymList(final String dictId, final SynonymPager synonymPager) {
            return getSynonymFile(dictId).map(file -> {
                final int pageSize = synonymPager.getPageSize();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

            });
        }
    
        protected void searchPaging(final RenderData data, final SearchForm form) {
            // page navi
            RenderDataUtil.register(data, "synonymItemItems", synonymService.getSynonymList(form.dictId, synonymPager));
    
            // restore from pager
            BeanUtil.copyBeanToBean(synonymPager, form, op -> {
                op.exclude(Constants.PAGER_CONVERSION_RULE);
            });
        }
    
    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/synonym/ApiAdminDictSynonymAction.java

            validateApi(body, messages -> {});
            final SynonymPager pager = copyBeanToNewBean(body, SynonymPager.class);
            return asJson(new ApiResult.ApiConfigsResponse<EditBody>()
                    .settings(synonymService.getSynonymList(body.dictId, pager).stream()
                            .map(protwordsItem -> createEditBody(protwordsItem, dictId)).collect(Collectors.toList()))
                    .status(ApiResult.Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top