Package org.codelibs.fess.app.pager
Class CharMappingPager
java.lang.Object
org.codelibs.fess.app.pager.CharMappingPager
- All Implemented Interfaces:
Serializable
Pager class for character mapping management with pagination support.
Provides pagination functionality for character mapping lists.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears all search criteria and resets pagination settings.intGets the total number of pages.intGets the total number of records.intGets the current page number.protected intGets the default current page number.protected intGets the default page size from configuration.Gets the list of page numbers for pagination navigation.intGets the page size for pagination.booleanChecks if there is a next page.booleanChecks if there is a previous page.voidsetAllPageCount(int allPageCount) Sets the total number of pages.voidsetAllRecordCount(int allRecordCount) Sets the total number of records.voidsetCurrentPageNumber(int currentPageNumber) Sets the current page number.voidsetExistNextPage(boolean existNextPage) Sets the existence of a next page.voidsetExistPrePage(boolean existPrePage) Sets the existence of a previous page.voidsetPageNumberList(List<Integer> pageNumberList) Sets the list of page numbers for pagination navigation.voidsetPageSize(int pageSize) Sets the page size for pagination.
-
Field Details
-
id
Character mapping ID for search filtering.
-
-
Constructor Details
-
CharMappingPager
public CharMappingPager()Default constructor for CharMappingPager.
-
-
Method Details
-
clear
public void clear()Clears all search criteria and resets pagination settings. -
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.
-
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 a previous page exists, false otherwise.
-
setExistPrePage
public void setExistPrePage(boolean existPrePage) Sets the existence of a previous page.- Parameters:
existPrePage- True if a previous page exists.
-
isExistNextPage
public boolean isExistNextPage()Checks if there is a next page.- Returns:
- True if a next page exists, false otherwise.
-
setExistNextPage
public void setExistNextPage(boolean existNextPage) Sets the existence of a next page.- Parameters:
existNextPage- True if a next page exists.
-
getPageSize
public int getPageSize()Gets the page size for pagination.- Returns:
- The page size.
-
setPageSize
public void setPageSize(int pageSize) Sets the page size for pagination.- 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
Gets the list of page numbers for pagination navigation.- Returns:
- The list of page numbers.
-
setPageNumberList
Sets the list of page numbers for pagination navigation.- Parameters:
pageNumberList- The list of page numbers.
-