Package org.codelibs.fess.app.pager
Class PathMapPager
java.lang.Object
org.codelibs.fess.app.pager.PathMapPager
- All Implemented Interfaces:
Serializable
Pager for path mapping.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe creator.The creation time.static final intDefault current page number.static final intDefault page size.The ID.The process type.The regex pattern.The replacement string.The sort order.The version number. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears all fields.intGets the total page count.intGets the total record count.intGets the current page number.protected intGets the default current page number.protected intGets the default page size.Gets the page number list.intGets the page size.booleanChecks if next page exists.booleanChecks if previous page exists.voidsetAllPageCount(int allPageCount) Sets the total page count.voidsetAllRecordCount(int allRecordCount) Sets the total record count.voidsetCurrentPageNumber(int currentPageNumber) Sets the current page number.voidsetExistNextPage(boolean existNextPage) Sets whether next page exists.voidsetExistPrePage(boolean existPrePage) Sets whether previous page exists.voidsetPageNumberList(List<Integer> pageNumberList) Sets the page number list.voidsetPageSize(int pageSize) Sets the page size.
-
Field Details
-
DEFAULT_PAGE_SIZE
public static final int DEFAULT_PAGE_SIZEDefault page size.- See Also:
-
DEFAULT_CURRENT_PAGE_NUMBER
public static final int DEFAULT_CURRENT_PAGE_NUMBERDefault current page number.- See Also:
-
id
The ID. -
regex
The regex pattern. -
replacement
The replacement string. -
processType
The process type. -
sortOrder
The sort order. -
createdBy
The creator. -
createdTime
The creation time. -
versionNo
The version number.
-
-
Constructor Details
-
PathMapPager
public PathMapPager()Default constructor.
-
-
Method Details
-
clear
public void clear()Clears all fields. -
getDefaultCurrentPageNumber
protected int getDefaultCurrentPageNumber()Gets the default current page number.- Returns:
- the default current page number
-
getAllRecordCount
public int getAllRecordCount()Gets the total record count.- Returns:
- the total record count
-
setAllRecordCount
public void setAllRecordCount(int allRecordCount) Sets the total record count.- Parameters:
allRecordCount- the total record count
-
getAllPageCount
public int getAllPageCount()Gets the total page count.- Returns:
- the total page count
-
setAllPageCount
public void setAllPageCount(int allPageCount) Sets the total page count.- Parameters:
allPageCount- the total page count
-
isExistPrePage
public boolean isExistPrePage()Checks if previous page exists.- Returns:
- true if previous page exists
-
setExistPrePage
public void setExistPrePage(boolean existPrePage) Sets whether previous page exists.- Parameters:
existPrePage- true if previous page exists
-
isExistNextPage
public boolean isExistNextPage()Checks if next page exists.- Returns:
- true if next page exists
-
setExistNextPage
public void setExistNextPage(boolean existNextPage) Sets whether 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
Gets the page number list.- Returns:
- the page number list
-
setPageNumberList
Sets the page number list.- Parameters:
pageNumberList- the page number list
-
getDefaultPageSize
protected int getDefaultPageSize()Gets the default page size.- Returns:
- the default page size
-