org.apache.archiva.indexer.search
Class SearchResultLimits
java.lang.Object
org.apache.archiva.indexer.search.SearchResultLimits
public class SearchResultLimits
- extends Object
SearchResultLimits - used to provide the search some limits on how the results are returned.
This can provide paging for the
- Version:
- $Id: SearchResultLimits.java 718864 2008-11-19 06:33:35Z brett $
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)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.