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
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the current page.boolean
Returns a flag, indicating if the state of the current page should be ignored.void
setCurrentPage
(int page) Setter for the current page.void
setIgnorePage
(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_CmsSearchStatePagination
Returns the current page.- Specified by:
getCurrentPage
in interfaceI_CmsSearchStatePagination
- Returns:
- The current page.
- See Also:
-
getIgnorePage
Description copied from interface:I_CmsSearchStatePagination
Returns 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:
getIgnorePage
in interfaceI_CmsSearchStatePagination
- Returns:
- A flag, indicating if the state of the current page should be ignored.
- See Also:
-
setCurrentPage
Description copied from interface:I_CmsSearchStatePagination
Setter for the current page.- Specified by:
setCurrentPage
in interfaceI_CmsSearchStatePagination
- Parameters:
page
- The current page to set.- See Also:
-
setIgnorePage
Description copied from interface:I_CmsSearchStatePagination
Setter for a flag, indicating if the state of the current page should be ignored.- Specified by:
setIgnorePage
in interfaceI_CmsSearchStatePagination
- Parameters:
ignore
- A flag, indicating if the state of the current page should be ignored.- See Also:
-