© 2001 BEA Systems, Inc.

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

All Superinterfaces:
BusinessSmartComponent, CatalogService, java.io.Serializable, Session

public interface CatalogQueryManager
extends CatalogService

Service interface for searching the Product Catalog using various criteria. CatalogQuery objects are used to specify the search criteria.

See Also:
com.beasys.commerce.ebusiness.catalog.service.query.CatalogQueryManagerHome, com.beasys.commerce.ebusiness.catalog.service.query.CatalogQueryManagerImpl, CatalogManager, ProductItem

Method Summary
 ProductItemKey[] search(CatalogRequest request, CatalogQuery query)
          Returns the results of the search peformed using the supplied catalog query object.
 ViewIterator search(CatalogRequest request, CatalogQuery query, int viewSize)
          Returns a ViewIterator over the results of the search peformed using the supplied catalog query object.
 
Methods inherited from interface com.beasys.commerce.ebusiness.catalog.service.CatalogService
getCatalogManager
 

Method Detail

search

public ProductItemKey[] search(CatalogRequest request,
                               CatalogQuery query)
                        throws java.rmi.RemoteException,
                               com.beasys.commerce.ebusiness.catalog.CatalogException
Returns the results of the search peformed using the supplied catalog query object.
Parameters:
request - The catalog request object.
catalogQuery - The catalog query object.
Returns:
An array of product item keys.
Throws:
com.beasys.commerce.ebusiness.catalog.CatalogException - on general error.

search

public ViewIterator search(CatalogRequest request,
                           CatalogQuery query,
                           int viewSize)
                    throws java.rmi.RemoteException,
                           com.beasys.commerce.ebusiness.catalog.CatalogException
Returns a ViewIterator over the results of the search peformed using the supplied catalog query object.
Parameters:
request - The catalog request object.
catalogQuery - The catalog query object.
viewSize - The view size of the returned ViewIterator.
Returns:
A ViewIterator over the product items returned by the search.
Throws:
com.beasys.commerce.ebusiness.catalog.CatalogException - on general error.

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved