© 2005 BEA Systems, Inc.

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

All Superinterfaces:
Serializable
All Known Subinterfaces:
KeywordQuery, ProductItemQuery
All Known Implementing Classes:
CatalogQueryImpl, KeywordQueryImpl, ProductItemQueryImpl

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.

See Also:
CatalogQueryManager

Field Summary
static int ALL_RESULTS
          Constant to indicate to the search mechanism that all search results should be returned.
 
Method Summary
 int getMaxSearchResults()
          Returns the maximum number of search results.
 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.

See Also:
Constant Field Values
Method Detail

getMaxSearchResults

public int getMaxSearchResults()
Returns the maximum number of search results.

Returns:
maximum number of search results

setMaxSearchResults

public void setMaxSearchResults(int searchResults)
Set the maximum search results size

Throws:
IllegalArgumentException - on invalid search result size

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved