© 2002 BEA Systems, Inc.


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

java.lang.Object
  |
  +--com.beasys.commerce.foundation.SessionImpl
        |
        +--com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl
              |
              +--com.beasys.commerce.ebusiness.catalog.service.query.CatalogQueryManagerImpl

public class CatalogQueryManagerImpl
extends CatalogServiceImpl

The implementation class for the CatalogQueryManager Session EJB. This implementation delegates to the service specifed by the following EJB environment property:

See Also:
CatalogQueryManager, CatalogQueryManagerHome, CatalogManager, Serialized Form

Fields inherited from class com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl
CATALOG_MANAGER_HOME
 
Fields inherited from class com.beasys.commerce.foundation.SessionImpl
_ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty
 
Constructor Summary
CatalogQueryManagerImpl()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbPostCreate()
           
 void ejbRemove()
           
 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.
 CategoryKey[] searchCategories(CatalogRequest request, CatalogQuery query)
          Returns the results of the search peformed using the supplied catalog query object for categories.
 void setSessionContext(javax.ejb.SessionContext ctx)
           
 
Methods inherited from class com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl
getCatalogManager, getCatalogManagerJndiName, validateAuthorization
 
Methods inherited from class com.beasys.commerce.foundation.SessionImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, enumerateRelationalBinding, enumerateRelationalBinding, getEnvironmentNamingContext, getEnvironmentProperty, getEnvironmentProperty, getEnvironmentPropertyCache, getPersistenceHelperPlugin, getSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogQueryManagerImpl

public CatalogQueryManagerImpl()
Method Detail

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException

Overrides:
ejbCreate in class CatalogServiceImpl

ejbPostCreate

public void ejbPostCreate()
                   throws javax.ejb.CreateException

Overrides:
ejbPostCreate in class CatalogServiceImpl

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException

Overrides:
ejbActivate in class CatalogServiceImpl

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException

Overrides:
ejbPassivate in class CatalogServiceImpl

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException

Overrides:
ejbRemove in class CatalogServiceImpl

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
                       throws javax.ejb.EJBException

Overrides:
setSessionContext in class CatalogServiceImpl

search

public ProductItemKey[] search(CatalogRequest request,
                               CatalogQuery query)
                        throws java.rmi.RemoteException,
                               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:
CatalogException - on general error.

searchCategories

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

Parameters:
request - The catalog request object.
catalogQuery - The catalog query object.
Returns:
An array of category keys.
Throws:
CatalogException - on general error.

search

public ViewIterator search(CatalogRequest request,
                           CatalogQuery query,
                           int viewSize)
                    throws java.rmi.RemoteException,
                           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:
CatalogException - on general error.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved