Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getSynonymList (0.13 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/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