Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CharMappingPager (0.35 sec)

  1. src/main/java/org/codelibs/fess/app/pager/CharMappingPager.java

     */
    package org.codelibs.fess.app.pager;
    
    import java.io.Serializable;
    import java.util.List;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    public class CharMappingPager implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        private int allRecordCount;
    
        private int allPageCount;
    
        private boolean existPrePage;
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/app/pager/CharMappingPagerTest.java

            charmappingpager.setExistPrePage(true);
            assertTrue(charmappingpager.isExistPrePage());
            charmappingpager.setExistNextPage(true);
            assertTrue(charmappingpager.isExistNextPage());
            charmappingpager.setPageSize(0);
            assertEquals(25, charmappingpager.getPageSize());
            charmappingpager.setPageSize(999);
            assertEquals(999, charmappingpager.getPageSize());
            charmappingpager.setCurrentPageNumber(0);
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

        public List<CharMappingItem> getCharMappingList(final String dictId, final CharMappingPager charMappingPager) {
            return getCharMappingFile(dictId).map(file -> {
                final int pageSize = charMappingPager.getPageSize();
                final PagingList<CharMappingItem> charMappingList =
                        file.selectList((charMappingPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
    
                // update pager
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

        //                                                                           =========
        @Resource
        private CharMappingService charMappingService;
        @Resource
        private CharMappingPager charMappingPager;
    
        // ===================================================================================
        //                                                                               Hook
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

        @Execute
        public JsonResponse<ApiResult> get$settings(final String dictId, final SearchBody body) {
            body.dictId = dictId;
            validateApi(body, messages -> {});
            final CharMappingPager pager = copyBeanToNewBean(body, CharMappingPager.class);
            return asJson(new ApiResult.ApiConfigsResponse<EditBody>()
                    .settings(charMappingService.getCharMappingList(body.dictId, pager).stream()
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top