Package org.codelibs.fess.app.pager
Class AccessTokenPager
java.lang.Object
org.codelibs.fess.app.pager.AccessTokenPager
- All Implemented Interfaces:
Serializable
The pager for access token.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the pager.intGet the all page count.intGet the all record count.intGet the current page number.protected intGet the default current page number.protected intGet the default page size.Get the page number list.intGet the page size.booleanCheck if the next page exists.booleanCheck if the previous page exists.voidsetAllPageCount(int allPageCount) Set the all page count.voidsetAllRecordCount(int allRecordCount) Set the all record count.voidsetCurrentPageNumber(int currentPageNumber) Set the current page number.voidsetExistNextPage(boolean existNextPage) Set if the next page exists.voidsetExistPrePage(boolean existPrePage) Set if the previous page exists.voidsetPageNumberList(List<Integer> pageNumberList) Set the page number list.voidsetPageSize(int pageSize) Set the page size.
-
Field Details
-
DEFAULT_CURRENT_PAGE_NUMBER
public static final int DEFAULT_CURRENT_PAGE_NUMBERThe default current page number.- See Also:
-
id
The ID. -
name
The name. -
createdBy
The created by. -
createdTime
The created time. -
versionNo
The version number.
-
-
Constructor Details
-
AccessTokenPager
public AccessTokenPager()Default constructor.
-
-
Method Details
-
clear
public void clear()Clear the pager. -
getAllRecordCount
public int getAllRecordCount()Get the all record count.- Returns:
- The all record count.
-
setAllRecordCount
public void setAllRecordCount(int allRecordCount) Set the all record count.- Parameters:
allRecordCount- The all record count.
-
getAllPageCount
public int getAllPageCount()Get the all page count.- Returns:
- The all page count.
-
setAllPageCount
public void setAllPageCount(int allPageCount) Set the all page count.- Parameters:
allPageCount- The all page count.
-
isExistPrePage
public boolean isExistPrePage()Check if the previous page exists.- Returns:
- true if the previous page exists.
-
setExistPrePage
public void setExistPrePage(boolean existPrePage) Set if the previous page exists.- Parameters:
existPrePage- true if the previous page exists.
-
isExistNextPage
public boolean isExistNextPage()Check if the next page exists.- Returns:
- true if the next page exists.
-
setExistNextPage
public void setExistNextPage(boolean existNextPage) Set if the next page exists.- Parameters:
existNextPage- true if the next page exists.
-
getPageSize
public int getPageSize()Get the page size.- Returns:
- The page size.
-
setPageSize
public void setPageSize(int pageSize) Set the page size.- Parameters:
pageSize- The page size.
-
getCurrentPageNumber
public int getCurrentPageNumber()Get the current page number.- Returns:
- The current page number.
-
setCurrentPageNumber
public void setCurrentPageNumber(int currentPageNumber) Set the current page number.- Parameters:
currentPageNumber- The current page number.
-
getPageNumberList
Get the page number list.- Returns:
- The page number list.
-
setPageNumberList
Set the page number list.- Parameters:
pageNumberList- The page number list.
-
getDefaultCurrentPageNumber
protected int getDefaultCurrentPageNumber()Get the default current page number.- Returns:
- The default current page number.
-
getDefaultPageSize
protected int getDefaultPageSize()Get the default page size.- Returns:
- The default page size.
-