# com.beasys.commerce.ebusiness.catalog.service.query
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`

## Constructor Summary

CatalogQueryImpl() Default constructor.

## Method Summary

`public int` | `getMaxSearchResults`() Returns the maximum number of search results.
`public void` | `setMaxSearchResults`(int maxSearchResults) Set the maximum search results size

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.beasys.commerce.ebusiness.catalog.service.query.`CatalogQuery``
``getMaxSearchResults`, `setMaxSearchResults``

## Constructor Detail

### CatalogQueryImpl

    public CatalogQueryImpl()

  Default constructor. Loads the maximum search result size from the catalog properties file.

## Method Detail

### 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``