CatalogQueryImpl Class
- public abstract class CatalogQueryImpl
extends Object
implements CatalogQuery
Implementation class for the CatalogQuery
interface.
-
Hierarchy
-
Object
CatalogQueryImpl
-
All Implemented Interfaces
-
CatalogQuery
, Serializable
-
Direct Known Subclasses
-
KeywordQueryImpl
, ProductItemQueryImpl
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatalogQueryImpl
public CatalogQueryImpl()
- Default constructor. Loads the maximum search result size
from the catalog properties file.
getMaxSearchResults() Method
public int getMaxSearchResults()
Description copied from CatalogQuery.getMaxSearchResults()
Returns the maximum number of search results.
Returns
- maximum number of search results
setMaxSearchResults(int) Method
public void setMaxSearchResults(int maxSearchResults)
throws IllegalArgumentException
Description copied from CatalogQuery.setMaxSearchResults(int)
Set the maximum search results size
Parameters
-
maxSearchResults
- the user specific maximum search results
Exceptions
-
IllegalArgumentException