This project has retired. For details please refer to its
Attic page.
SearchResultLimits
org.apache.archiva.indexer.search
Class SearchResultLimits
java.lang.Object
org.apache.archiva.indexer.search.SearchResultLimits
public class SearchResultLimits
- extends java.lang.Object
SearchResultLimits - used to provide the search some limits on how the results are returned.
This can provide paging for the
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_PAGES
public static final int ALL_PAGES
- Constant to use for
setSelectedPage(int)
to indicate a desire to get ALL PAGES.
USE WITH CAUTION!!
- See Also:
- Constant Field Values
SearchResultLimits
public SearchResultLimits(int selectedPage)
getPageSize
public int getPageSize()
setPageSize
public void setPageSize(int pageSize)
- Set page size for maximum # of hits to return per page.
- Parameters:
pageSize
- size of page by # of hits. (maximum value is 200)
getSelectedPage
public int getSelectedPage()
setSelectedPage
public void setSelectedPage(int selectedPage)