Package org.opencms.jsp.search.state
Interface I_CmsSearchStatePagination
-
- All Known Implementing Classes:
CmsSearchStatePagination
public interface I_CmsSearchStatePagination
Interface for pagination states.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCurrentPage()
Returns the current page.boolean
getIgnorePage()
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 Detail
-
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
void setCurrentPage(int page)
Setter for the current page.- Parameters:
page
- The current page to set.
-
setIgnorePage
void setIgnorePage(boolean ignore)
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.
-
-