|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.foundation.SessionImpl com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl com.beasys.commerce.ebusiness.catalog.service.JdbcCatalogServiceImpl com.beasys.commerce.ebusiness.catalog.service.query.JdbcCatalogQueryManagerImpl
@Deprecated public class JdbcCatalogQueryManagerImpl
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:
PropertyTableSetPrefix
- specifies the table prefix for performing searches over implicit properties.
supportsLikeEscapeClause
- specified whether the LIKE
ESCAPE clause is supported in the underlying database connection (if not
specified, it will be determined via the JdbcHelper).
JdbcCatalogQueryManager
,
JdbcCatalogQueryManagerHome
,
JdbcHelper
,
Serialized FormField Summary | |
---|---|
protected Boolean |
supportsLikeEscapeClause
Deprecated Whether the underlying database connection supports the LIKE ESCAPE clause. |
protected String |
tablePrefix
Deprecated The table name prefix for the ConfigurableEntity/EntityPropertyManager tables for custom data searching through expressions. |
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 |
Method Summary | |
---|---|
void |
ejbActivate()
Deprecated ejbActivate method. |
void |
ejbCreate()
Deprecated ejbCreate method. |
void |
ejbPassivate()
Deprecated ejbPassivate method. |
void |
ejbPostCreate()
Deprecated ejbPostCreate method. |
void |
ejbRemove()
Deprecated ejbRemove method. |
ProductItemKey[] |
search(CatalogRequest request,
CatalogQuery query)
Deprecated Returns the results of the search peformed using the supplied catalog query object. |
ViewIterator |
search(CatalogRequest request,
CatalogQuery query,
int viewSize)
Deprecated Returns a ViewIterator over the results of the search peformed using the supplied catalog query object. |
CategoryKey[] |
searchCategories(CatalogRequest request,
CatalogQuery query)
Deprecated Returns the results of the search peformed using the supplied catalog query object for categories. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Deprecated setSessionContext method. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String tablePrefix
This will be initialized from the PropertyTableSetPrefix
environment property.
protected Boolean supportsLikeEscapeClause
This will be initialized form the
supportsLikeEscapeClause
environment property. It will be
null to use JdbcHelper.supportsLikeEscapeClause(java.sql.Connection)
method.
Constructor Detail |
---|
public JdbcCatalogQueryManagerImpl()
Method Detail |
---|
public void ejbCreate() throws javax.ejb.CreateException
SessionImpl
ejbCreate
in class JdbcCatalogServiceImpl
javax.ejb.CreateException
public void ejbPostCreate() throws javax.ejb.CreateException
SessionImpl
ejbPostCreate
in class JdbcCatalogServiceImpl
javax.ejb.CreateException
public void ejbActivate() throws javax.ejb.EJBException
SessionImpl
ejbActivate
in interface javax.ejb.SessionBean
ejbActivate
in class JdbcCatalogServiceImpl
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
SessionImpl
ejbPassivate
in interface javax.ejb.SessionBean
ejbPassivate
in class JdbcCatalogServiceImpl
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.EJBException
SessionImpl
ejbRemove
in interface javax.ejb.SessionBean
ejbRemove
in class JdbcCatalogServiceImpl
javax.ejb.EJBException
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException
SessionImpl
setSessionContext
in interface javax.ejb.SessionBean
setSessionContext
in class JdbcCatalogServiceImpl
javax.ejb.EJBException
public ProductItemKey[] search(CatalogRequest request, CatalogQuery query) throws CatalogException
search
in interface CatalogQueryManagerBusiness
request
- The catalog request object.catalogQuery
- The catalog query object.
CatalogException
- on general error.public CategoryKey[] searchCategories(CatalogRequest request, CatalogQuery query) throws RemoteException, CatalogException
searchCategories
in interface CatalogQueryManagerBusiness
request
- The catalog request object.catalogQuery
- The catalog query object.
CatalogException
- on general error.
RemoteException
public ViewIterator search(CatalogRequest request, CatalogQuery query, int viewSize) throws CatalogException, RemoteException
search
in interface CatalogQueryManagerBusiness
request
- The catalog request object.catalogQuery
- The catalog query object.viewSize
- The view size of the returned ViewIterator.
CatalogException
- on general error.
RemoteException
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |