Class WebConfigPager

java.lang.Object
org.codelibs.fess.app.pager.WebConfigPager
All Implemented Interfaces:
Serializable

public class WebConfigPager extends Object implements Serializable
Pager class for web configuration settings. Provides pagination functionality and search criteria for web configuration listings.
See Also:
  • Field Details

    • DEFAULT_PAGE_SIZE

      public static final int DEFAULT_PAGE_SIZE
      Default page size for pagination.
      See Also:
    • DEFAULT_CURRENT_PAGE_NUMBER

      public static final int DEFAULT_CURRENT_PAGE_NUMBER
      Default current page number.
      See Also:
    • id

      public String id
      Search criteria: configuration ID.
    • name

      public String name
      Search criteria: configuration name.
    • urls

      public String urls
      Search criteria: target URLs.
    • userAgent

      public String userAgent
      Search criteria: user agent string.
    • numOfThread

      public String numOfThread
      Search criteria: number of threads.
    • intervalTime

      public String intervalTime
      Search criteria: interval time.
    • boost

      public String boost
      Search criteria: boost value.
    • available

      public String available
      Search criteria: availability status.
    • sortOrder

      public String sortOrder
      Search criteria: sort order.
    • createdBy

      public String createdBy
      Search criteria: creator user.
    • createdTime

      public String createdTime
      Search criteria: creation time.
    • versionNo

      public String versionNo
      Search criteria: version number.
    • description

      public String description
      Search criteria: configuration description.
  • Constructor Details

    • WebConfigPager

      public WebConfigPager()
      Default constructor.
  • Method Details

    • clear

      public void clear()
      Clears all pager data and search criteria.
    • getDefaultCurrentPageNumber

      protected int getDefaultCurrentPageNumber()
      Gets the default current page number.
      Returns:
      The default current page number
    • getAllRecordCount

      public int getAllRecordCount()
      Gets the total number of records.
      Returns:
      The total record count
    • setAllRecordCount

      public void setAllRecordCount(int allRecordCount)
      Sets the total number of records.
      Parameters:
      allRecordCount - The total record count
    • getAllPageCount

      public int getAllPageCount()
      Gets the total number of pages.
      Returns:
      The total page count
    • setAllPageCount

      public void setAllPageCount(int allPageCount)
      Sets the total number of pages.
      Parameters:
      allPageCount - The total page count
    • isExistPrePage

      public boolean isExistPrePage()
      Checks if a previous page exists.
      Returns:
      True if a previous page exists, false otherwise
    • setExistPrePage

      public void setExistPrePage(boolean existPrePage)
      Sets whether a previous page exists.
      Parameters:
      existPrePage - True if a previous page exists
    • isExistNextPage

      public boolean isExistNextPage()
      Checks if a next page exists.
      Returns:
      True if a next page exists, false otherwise
    • setExistNextPage

      public void setExistNextPage(boolean existNextPage)
      Sets whether a next page exists.
      Parameters:
      existNextPage - True if a next page exists
    • getPageSize

      public int getPageSize()
      Gets the page size.
      Returns:
      The number of records per page
    • setPageSize

      public void setPageSize(int pageSize)
      Sets the page size.
      Parameters:
      pageSize - The number of records per page
    • getCurrentPageNumber

      public int getCurrentPageNumber()
      Gets the current page number.
      Returns:
      The current page number
    • setCurrentPageNumber

      public void setCurrentPageNumber(int currentPageNumber)
      Sets the current page number.
      Parameters:
      currentPageNumber - The current page number
    • getPageNumberList

      public List<Integer> getPageNumberList()
      Gets the list of page numbers for pagination.
      Returns:
      The list of page numbers
    • setPageNumberList

      public void setPageNumberList(List<Integer> pageNumberList)
      Sets the list of page numbers for pagination.
      Parameters:
      pageNumberList - The list of page numbers
    • getDefaultPageSize

      protected int getDefaultPageSize()
      Gets the default page size from configuration.
      Returns:
      The default page size