Class ProtwordsPager

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

public class ProtwordsPager extends Object implements Serializable
Pager for protected words dictionary management. This class handles pagination functionality for browsing protected words.
See Also:
  • Field Details

    • id

      public String id
      The dictionary ID
  • Constructor Details

    • ProtwordsPager

      public ProtwordsPager()
      Default constructor.
  • Method Details

    • clear

      public void clear()
      Clears all pagination data and resets to default values.
    • getDefaultPageSize

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

      protected int getDefaultCurrentPageNumber()
      Gets the default current page number.
      Returns:
      the default current page number (1)
    • 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 there is a previous page.
      Returns:
      true if previous page exists, false otherwise
    • setExistPrePage

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

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

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

      public int getPageSize()
      Gets the page size.
      Returns:
      the page size
    • setPageSize

      public void setPageSize(int pageSize)
      Sets the page size.
      Parameters:
      pageSize - the page size
    • 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 display.
      Returns:
      the list of page numbers
    • setPageNumberList

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