# com.beasys.commerce.ebusiness.catalog.service.query
CatalogQuery Interface

public interface CatalogQuery
extends `Serializable`

This interface defines the basic functionality required to perform Product Catalog searches. Interfaces that extend `CatalogQuery` define functionality required to perform specific types of Product Catalog searches.

Related Topics

``CatalogQueryManager``

All Known Implementing Classes
  `CatalogQueryImpl`, `KeywordQueryImpl`, `ProductItemQueryImpl`

All Superinterfaces
  `Serializable`

All Known Subinterfaces
  `KeywordQuery`, `ProductItemQuery`

## Field Summary

`public static final int` | `ALL_RESULTS` Constant to indicate to the search mechanism that all search results should be returned.

## Method Summary

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

## Field Detail

### ALL_RESULTS

    public static final int ALL_RESULTS

  Constant to indicate to the search mechanism that all search results should be returned. Use this constant in the `setMaxSearchResults` method.

## Method Detail

### getMaxSearchResults() Method

    public int getMaxSearchResults()

Returns the maximum number of search results.

#### Returns

maximum number of search results

### setMaxSearchResults(int) Method

    public void setMaxSearchResults(int searchResults)

Set the maximum search results size

#### Parameters

searchResults
  the user specific maximum search results