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

java.lang.Object
  extended by com.beasys.commerce.foundation.SessionImpl
      extended by com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl
          extended by com.beasys.commerce.ebusiness.catalog.service.JdbcCatalogServiceImpl
              extended by com.beasys.commerce.ebusiness.catalog.service.query.JdbcCatalogQueryManagerImpl
All Implemented Interfaces
CatalogQueryManagerBusiness, Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

Deprecated See BEA Commerce product offering

@Deprecated
public class JdbcCatalogQueryManagerImpl
extends JdbcCatalogServiceImpl
implements CatalogQueryManagerBusiness

The implementation class for the JdbcCatalogQueryManager Session EJB.

This service implementation uses the QueryHelper class to generate SQL at runtime to perform ProductCatalog searches. This utility class searches against both explict and implicit (i.e. properties set through the ConfigurableEntity interface) properties of the Catalog items. The table prefix used for searching implicit property tables is specifed by the following EJB environment property:

See Also
JdbcCatalogQueryManager, JdbcCatalogQueryManagerHome, JdbcHelper, Serialized Form

Field Summary
protected  Boolean supportsLikeEscapeClause
          Deprecated See BEA Commerce product offering
protected  String tablePrefix
          Deprecated See BEA Commerce product offering
 
Fields inherited from class com.beasys.commerce.ebusiness.catalog.service.JdbcCatalogServiceImpl
DATA_SOURCE_NAME, SCHEMA_FILE_NAME, SQL_MANAGER_CLASS
 
Fields inherited from class com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl
CATALOG_MANAGER_HOME, CATALOG_QUERY_DELEGATE, CATEGORY_DELEGATE, CUSTOM_DATA_DELEGATE, PRODUCT_ITEM_DELEGATE
 
Fields inherited from class com.beasys.commerce.foundation.SessionImpl
_ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty
 
Constructor Summary
JdbcCatalogQueryManagerImpl()
          Deprecated See BEA Commerce product offering
 
Method Summary
 void ejbActivate()
          Deprecated See BEA Commerce product offering
 void ejbCreate()
          Deprecated See BEA Commerce product offering
 void ejbPassivate()
          Deprecated See BEA Commerce product offering
 void ejbPostCreate()
          Deprecated See BEA Commerce product offering
 void ejbRemove()
          Deprecated See BEA Commerce product offering
 ProductItemKey[] search(CatalogRequest request, CatalogQuery query)
          Deprecated See BEA Commerce product offering
 ViewIterator search(CatalogRequest request, CatalogQuery query, int viewSize)
          Deprecated See BEA Commerce product offering
 CategoryKey[] searchCategories(CatalogRequest request, CatalogQuery query)
          Deprecated See BEA Commerce product offering
 void setSessionContext(javax.ejb.SessionContext ctx)
          Deprecated See BEA Commerce product offering
 
Methods inherited from class com.beasys.commerce.ebusiness.catalog.service.JdbcCatalogServiceImpl
getCatalogSchemaName, getCatalogSqlManager, getCatalogSqlManager, getCatalogSqlManagerName, getDatabaseConnection, getJdbcCatalogFactory
 
Methods inherited from class com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl
getCatalogManager, getCatalogManagerJndiName, getConfigBean, setDelegateName, 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
 

Field Detail

tablePrefix

protected String tablePrefix
Deprecated See BEA Commerce product offering
The table name prefix for the ConfigurableEntity/EntityPropertyManager tables for custom data searching through expressions.

This will be initialized from the PropertyTableSetPrefix environment property.


supportsLikeEscapeClause

protected Boolean supportsLikeEscapeClause
Deprecated See BEA Commerce product offering
Whether the underlying database connection supports the LIKE ESCAPE clause.

This will be initialized form the supportsLikeEscapeClause environment property. It will be null to use JdbcHelper.supportsLikeEscapeClause(java.sql.Connection) method.

Constructor Detail

JdbcCatalogQueryManagerImpl

public JdbcCatalogQueryManagerImpl()
Deprecated See BEA Commerce product offering

Method Detail

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Deprecated See BEA Commerce product offering

Description copied from class: SessionImpl
ejbCreate method.

Overrides:
ejbCreate in class JdbcCatalogServiceImpl
Throws
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate()
                   throws javax.ejb.CreateException
Deprecated See BEA Commerce product offering

Description copied from class: SessionImpl
ejbPostCreate method.

Overrides:
ejbPostCreate in class JdbcCatalogServiceImpl
Throws
javax.ejb.CreateException

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException
Deprecated See BEA Commerce product offering

Description copied from class: SessionImpl
ejbActivate method.

Specified by:
ejbActivate in interface javax.ejb.SessionBean
Overrides:
ejbActivate in class JdbcCatalogServiceImpl
Throws
javax.ejb.EJBException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException
Deprecated See BEA Commerce product offering

Description copied from class: SessionImpl
ejbPassivate method.

Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Overrides:
ejbPassivate in class JdbcCatalogServiceImpl
Throws
javax.ejb.EJBException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException
Deprecated See BEA Commerce product offering

Description copied from class: SessionImpl
ejbRemove method.

Specified by:
ejbRemove in interface javax.ejb.SessionBean
Overrides:
ejbRemove in class JdbcCatalogServiceImpl
Throws
javax.ejb.EJBException

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
                       throws javax.ejb.EJBException
Deprecated See BEA Commerce product offering

Description copied from class: SessionImpl
setSessionContext method.

Specified by:
setSessionContext in interface javax.ejb.SessionBean
Overrides:
setSessionContext in class JdbcCatalogServiceImpl
Throws
javax.ejb.EJBException

search

public ProductItemKey[] search(CatalogRequest request,
                               CatalogQuery query)
                        throws CatalogException
Deprecated See BEA Commerce product offering

Returns the results of the search peformed using the supplied catalog query object.

Specified by:
search in interface CatalogQueryManagerBusiness
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 RemoteException,
                                      CatalogException
Deprecated See BEA Commerce product offering

Returns the results of the search peformed using the supplied catalog query object for categories.

Specified by:
searchCategories in interface CatalogQueryManagerBusiness
Parameters
request - The catalog request object.
catalogQuery - The catalog query object.
Returns
An array of category keys.
Throws
CatalogException - on general error.
RemoteException

search

public ViewIterator search(CatalogRequest request,
                           CatalogQuery query,
                           int viewSize)
                    throws CatalogException,
                           RemoteException
Deprecated See BEA Commerce product offering

Returns a ViewIterator over the results of the search peformed using the supplied catalog query object.

Specified by:
search in interface CatalogQueryManagerBusiness
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.
RemoteException


Copyright © 2008 BEA Systems, Inc. All Rights Reserved