CatalogQueryManagerImpl Class

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

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:

Related Topics

CatalogQueryManager
CatalogQueryManagerHome
CatalogManager


Hierarchy
Object
  SessionImpl
    CatalogServiceImpl
      CatalogQueryManagerImpl
All Implemented Interfaces

EnterpriseBean, Serializable, SessionBean

Field Summary

   
Fields from  com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl
CATALOG_MANAGER_HOME
 
Fields from  com.beasys.commerce.foundation.SessionImpl
_ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty
 

Constructor Summary

CatalogQueryManagerImpl()

 

Method Summary

public void
ejbActivate()
ejbActivate method.
public void
ejbCreate()
ejbCreate method.
public void
ejbPassivate()
ejbPassivate method.
public void
ejbPostCreate()
ejbPostCreate method.
public void
ejbRemove()
ejbRemove method.
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.
public void
setSessionContext(SessionContext ctx)
setSessionContext method.
 
Methods from  com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl
getCatalogManager, getCatalogManagerJndiName, validateAuthorization
 
Methods from  com.beasys.commerce.foundation.SessionImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, ejbActivate, ejbCreate, ejbPassivate, ejbPostCreate, ejbRemove, enumerateRelationalBinding, enumerateRelationalBinding, getEnvironmentNamingContext, getEnvironmentProperty, getEnvironmentProperty, getEnvironmentPropertyCache, getPersistenceHelperPlugin, getSessionContext, setSessionContext
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.ejb.SessionBean
ejbActivate, ejbPassivate, ejbRemove, setSessionContext
 

Constructor Detail

CatalogQueryManagerImpl

public CatalogQueryManagerImpl()
 

Method Detail

ejbActivate() Method

public void ejbActivate()
throws EJBException
Description copied from SessionImpl.ejbActivate()
ejbActivate method.

Overrides
CatalogServiceImpl.ejbActivate()

Exceptions

EJBException

ejbCreate() Method

public void ejbCreate()
throws CreateException
Description copied from SessionImpl.ejbCreate()
ejbCreate method.

Overrides
CatalogServiceImpl.ejbCreate()

Exceptions

CreateException

ejbPassivate() Method

public void ejbPassivate()
throws EJBException
Description copied from SessionImpl.ejbPassivate()
ejbPassivate method.

Overrides
CatalogServiceImpl.ejbPassivate()

Exceptions

EJBException

ejbPostCreate() Method

public void ejbPostCreate()
throws CreateException
Description copied from SessionImpl.ejbPostCreate()
ejbPostCreate method.

Overrides
CatalogServiceImpl.ejbPostCreate()

Exceptions

CreateException

ejbRemove() Method

public void ejbRemove()
throws EJBException
Description copied from SessionImpl.ejbRemove()
ejbRemove method.

Overrides
CatalogServiceImpl.ejbRemove()

Exceptions

EJBException

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.

setSessionContext(SessionContext) Method

public void setSessionContext(SessionContext ctx)
throws EJBException
Description copied from SessionImpl.setSessionContext(SessionContext)
setSessionContext method.

Overrides
CatalogServiceImpl.setSessionContext(SessionContext)

Exceptions

EJBException