© 2005 BEA Systems, Inc.

com.beasys.commerce.ebusiness.catalog.service.query
Class CatalogQueryImpl

java.lang.Object
  extended bycom.beasys.commerce.ebusiness.catalog.service.query.CatalogQueryImpl
All Implemented Interfaces:
CatalogQuery, Serializable
Direct Known Subclasses:
KeywordQueryImpl, ProductItemQueryImpl

public abstract class CatalogQueryImpl
extends Object
implements CatalogQuery

Implementation class for the CatalogQuery interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.beasys.commerce.ebusiness.catalog.service.query.CatalogQuery
ALL_RESULTS
 
Constructor Summary
CatalogQueryImpl()
          Default constructor.
 
Method Summary
 int getMaxSearchResults()
          Returns the maximum number of search results.
 void setMaxSearchResults(int maxSearchResults)
          Set the maximum search results size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogQueryImpl

public CatalogQueryImpl()
Default constructor. Loads the maximum search result size from the catalog properties file.

Method Detail

getMaxSearchResults

public int getMaxSearchResults()
Description copied from interface: CatalogQuery
Returns the maximum number of search results.

Specified by:
getMaxSearchResults in interface CatalogQuery
Returns:
maximum number of search results

setMaxSearchResults

public void setMaxSearchResults(int maxSearchResults)
                         throws IllegalArgumentException
Description copied from interface: CatalogQuery
Set the maximum search results size

Specified by:
setMaxSearchResults in interface CatalogQuery
Throws:
IllegalArgumentException - on invalid search result size

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved