© 2002 BEA Systems, Inc.


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

All Known Subinterfaces:
KeywordQuery, ProductItemQuery
All Known Implementing Classes:
CatalogQueryImpl

public interface CatalogQuery
extends java.io.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.
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

Parameters:
maxSearchResults - the user specific maximum search results
Throws:
java.lang.IllegalArgumentException - on invalid search result size

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved