CatalogQueryManager Interface

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

public interface CatalogQueryManager

    extends CatalogService

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

Related Topics

CatalogQueryManagerHome
CatalogQueryManagerImpl
CatalogManager
ProductItem


All Superinterfaces
BusinessSmartComponent, CatalogService, EJBObject, Remote, Serializable, Session

Method Summary

public ProductItemKey[]
search(CatalogRequest request, CatalogQuery query)
Returns the results of the search peformed using the supplied catalog query object.
public ViewIterator
search(CatalogRequest request, CatalogQuery query, int viewSize)
Returns a ViewIterator over the results of the search peformed using the supplied catalog query object.
public CategoryKey[]
searchCategories(CatalogRequest request, CatalogQuery query)
Returns the results of the search peformed using the supplied catalog query object for categories.
 
Methods from interface com.beasys.commerce.ebusiness.catalog.service.CatalogService
getCatalogManager
 
Methods from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
   

Method Detail

search(CatalogRequest, CatalogQuery) Method

public ProductItemKey[] search(CatalogRequest request, 
                             CatalogQuery query)
throws RemoteException, CatalogException
Returns the results of the search peformed using the supplied catalog query object.

Parameters

request
The catalog request object.
query
The catalog query object.

Returns

An array of product item keys.

Exceptions

RemoteException
CatalogException
on general error.

search(CatalogRequest, CatalogQuery, int) Method

public ViewIterator search(CatalogRequest request, 
                           CatalogQuery query, 
                           int viewSize)
throws RemoteException, CatalogException
Returns a ViewIterator over the results of the search peformed using the supplied catalog query object.

Parameters

request
The catalog request object.
query
The catalog query object.
viewSize
The view size of the returned ViewIterator.

Returns

A ViewIterator over the product items returned by the search.

Exceptions

RemoteException
CatalogException
on general error.

searchCategories(CatalogRequest, CatalogQuery) Method

public CategoryKey[] searchCategories(CatalogRequest request, 
                                    CatalogQuery query)
throws RemoteException, CatalogException
Returns the results of the search peformed using the supplied catalog query object for categories.

Parameters

request
The catalog request object.
query
The catalog query object.

Returns

An array of category keys.

Exceptions

RemoteException
CatalogException
on general error.