Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for allPageCount (0.08 seconds)

  1. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        }
    
        /**
         * Sets the total number of pages based on record count and page size.
         *
         * @param allPageCount The total page count
         */
        public void setAllPageCount(final int allPageCount) {
            this.allPageCount = allPageCount;
        }
    
        /**
         * Sets whether a next page exists.
         *
         * @param existNextPage true if a next page exists
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/QueryResponseList.java

            int startWithOffset = start - offset;
            if (startWithOffset < 0) {
                startWithOffset = 0;
            }
            allPageCount = (int) ((allRecordCount - 1) / pageSize) + 1;
            existPrevPage = startWithOffset > 0;
            existNextPage = startWithOffset < (long) (allPageCount - 1) * (long) pageSize;
            currentPageNumber = start / pageSize + 1;
            if (existNextPage && size() < pageSize) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

                if (startPage < 1) {
                    startPage = 1;
                }
                int endPage = currentPageNumber + pageRangeSize;
                if (endPage > allPageCount) {
                    endPage = allPageCount;
                }
                final List<Integer> pageNumberList = new ArrayList<>();
                for (int i = startPage; i <= endPage; i++) {
                    pageNumberList.add(i);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                RenderDataUtil.register(data, "allRecordCount", allRecordCount);
                RenderDataUtil.register(data, "allRecordCountRelation", allRecordCountRelation);
                RenderDataUtil.register(data, "allPageCount", allPageCount);
                RenderDataUtil.register(data, "existNextPage", existNextPage);
                RenderDataUtil.register(data, "existPrevPage", existPrevPage);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                RenderDataUtil.register(data, "allRecordCount", allRecordCount);
                RenderDataUtil.register(data, "allRecordCountRelation", allRecordCountRelation);
                RenderDataUtil.register(data, "allPageCount", allPageCount);
                RenderDataUtil.register(data, "existNextPage", existNextPage);
                RenderDataUtil.register(data, "existPrevPage", existPrevPage);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/admin/crawlinginfo/admin_crawlinginfo.jsp

                                    <c:if test="${pager.currentPageNumber > pager.allPageCount}">
                                        <script>location.href = "${contextPath}/admin/crawlinginfo/list/${pager.allPageCount}";</script>
                                    </c:if>
                                    <div class="row">
                                        <c:if test="${editable}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/Constants.java

        /** Conversion rule array for pager components. */
        public static final String[] PAGER_CONVERSION_RULE =
                { "allRecordCount", "pageSize", "currentPageNumber", "allPageCount", "existPrePage", "existNextPage" };
    
        // ============================================================
        // Crawler Types
        // ============================================================
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/admin/labeltype/admin_labeltype.jsp

                                    </div>
                                    <c:if test="${labelTypePager.currentPageNumber > labelTypePager.allPageCount}">
                                        <script>location.href = "${contextPath}/admin/labeltype/list/${labelTypePager.allPageCount}";</script>
                                    </c:if>
                                </c:if>
                            </div>
                        </div>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/joblog/admin_joblog.jsp

                                    <c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp"/>
                                    <c:if test="${pager.currentPageNumber > pager.allPageCount}">
                                        <script>location.href = "${contextPath}/admin/joblog/list/${pager.allPageCount}";</script>
                                    </c:if>
                                    <div class="row">
                                        <c:if test="${editable}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            assertEquals(0, qrList.getOffset());
    
            // Page info should be calculated (allRecordCount=100, pageSize=10 => 10 pages)
            // But since size() < pageSize, collapsing logic applies and allPageCount becomes currentPageNumber
            assertEquals(1, qrList.getAllPageCount()); // Collapsed to current page due to size() = 1 < pageSize = 10
            assertEquals(1, qrList.getCurrentPageNumber());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
Back to Top