Package org.opencms.jsp.search.state
Interface I_CmsSearchStatePagination
- All Known Implementing Classes:
CmsSearchStatePagination
public interface I_CmsSearchStatePagination
Interface for pagination states.
-
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.
-
Method Details
-
getCurrentPage
int getCurrentPage()Returns the current page.- Returns:
- The current page.
-
getIgnorePage
boolean getIgnorePage()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.- Returns:
- A flag, indicating if the state of the current page should be ignored.
-
setCurrentPage
Setter for the current page.- Parameters:
page
- The current page to set.
-
setIgnorePage
Setter for a flag, indicating if the state of the current page should be ignored.- Parameters:
ignore
- A flag, indicating if the state of the current page should be ignored.
-