Class DataConfigPager

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

public class DataConfigPager extends Object implements Serializable
Pager for data configuration management with standard paging functionality. This class provides pagination support for data configuration listings in the admin interface, including navigation controls and search/filter parameters.
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 (first page).
      See Also:
    • id

      public String id
      Search/filter parameter for data configuration ID.
    • name

      public String name
      Search/filter parameter for data configuration name.
    • handlerName

      public String handlerName
      Search/filter parameter for data configuration handler name.
    • boost

      public String boost
      Search/filter parameter for data configuration boost value.
    • available

      public String available
      Search/filter parameter for data configuration availability status.
    • sortOrder

      public String sortOrder
      Search/filter parameter for data configuration sort order.
    • createdBy

      public String createdBy
      Search/filter parameter for data configuration creator.
    • createdTime

      public String createdTime
      Search/filter parameter for data configuration creation time.
    • versionNo

      public String versionNo
      Search/filter parameter for data configuration version number.
    • description

      public String description
      Search/filter parameter for data configuration description.
  • Constructor Details

    • DataConfigPager

      public DataConfigPager()
      Creates a new DataConfigPager with default values. Initializes pagination settings and clears all search parameters.
  • Method Details

    • clear

      public void clear()
      Clears all paging state and search/filter parameters. Resets the pager to its initial state with default values.
    • getDefaultCurrentPageNumber

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

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

      public void setAllRecordCount(int allRecordCount)
      Sets the total number of records across all pages.
      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 there is a previous page available.
      Returns:
      true if there is a previous page, false otherwise
    • setExistPrePage

      public void setExistPrePage(boolean existPrePage)
      Sets whether there is a previous page available.
      Parameters:
      existPrePage - true if there is a previous page, false otherwise
    • isExistNextPage

      public boolean isExistNextPage()
      Checks if there is a next page available.
      Returns:
      true if there is a next page, false otherwise
    • setExistNextPage

      public void setExistNextPage(boolean existNextPage)
      Sets whether there is a next page available.
      Parameters:
      existNextPage - true if there is a next page, false otherwise
    • getPageSize

      public int getPageSize()
      Gets the number of records to display per page. If the page size is not set or is invalid, returns the default page size.
      Returns:
      the page size
    • setPageSize

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

      public int getCurrentPageNumber()
      Gets the current page number being displayed. If the current page number is not set or is invalid, returns the default page number.
      Returns:
      the current page number
    • setCurrentPageNumber

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

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

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

      protected int getDefaultPageSize()
      Returns the default page size from the system configuration.
      Returns:
      the default page size configured in the system