Package org.opencms.jsp.search.state
Class CmsSearchStatePagination
java.lang.Object
org.opencms.jsp.search.state.CmsSearchStatePagination
- All Implemented Interfaces:
I_CmsSearchStatePagination
Class for keeping the state for the pagination.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the current page.booleanReturns a flag, indicating if the state of the current page should be ignored.voidsetCurrentPage(int page) Setter for the current page.voidsetIgnorePage(boolean ignore) Setter for a flag, indicating if the state of the current page should be ignored.
-
Constructor Details
-
CmsSearchStatePagination
public CmsSearchStatePagination()
-
-
Method Details
-
getCurrentPage
Description copied from interface:I_CmsSearchStatePaginationReturns the current page.- Specified by:
getCurrentPagein interfaceI_CmsSearchStatePagination- Returns:
- The current page.
- See Also:
-
getIgnorePage
Description copied from interface:I_CmsSearchStatePaginationReturns a flag, indicating if the state of the current page should be ignored. This is for example the case if the user's query has changed.- Specified by:
getIgnorePagein interfaceI_CmsSearchStatePagination- Returns:
- A flag, indicating if the state of the current page should be ignored.
- See Also:
-
setCurrentPage
Description copied from interface:I_CmsSearchStatePaginationSetter for the current page.- Specified by:
setCurrentPagein interfaceI_CmsSearchStatePagination- Parameters:
page- The current page to set.- See Also:
-
setIgnorePage
Description copied from interface:I_CmsSearchStatePaginationSetter for a flag, indicating if the state of the current page should be ignored.- Specified by:
setIgnorePagein interfaceI_CmsSearchStatePagination- Parameters:
ignore- A flag, indicating if the state of the current page should be ignored.- See Also:
-