com.beasys.commerce.ebusiness.catalog.service.item
Class JdbcProductItemManagerImpl

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.item.JdbcProductItemManagerImpl
All Implemented Interfaces
ProductItemManagerBusiness, Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

Deprecated

@Deprecated
public class JdbcProductItemManagerImpl
extends JdbcCatalogServiceImpl
implements ProductItemManagerBusiness

The implementation class for the JdbcProductItemManager Session EJB.

See Also
JdbcProductItemManager, JdbcProductItemManagerHome, Serialized Form

Field Summary
 
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
JdbcProductItemManagerImpl()
          Deprecated  
 
Method Summary
 void createItem(CatalogRequest request, ProductItem product)
          Deprecated Creates a new product item.
 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.
 ProductItem getItem(CatalogRequest request, ProductItemKey productKey)
          Deprecated Returns the product item with the specified key.
 int getItemCount(CatalogRequest request)
          Deprecated Returns the number of product items in the product catalog.
 ProductItemKey[] getItemKeys(CatalogRequest request, int beginIndex, int endIndex)
          Deprecated Returns an array over all existing product item keys within the specified ordered range.
 ViewIterator getItems(CatalogRequest request, int viewSize)
          Deprecated Returns a ViewIterator over all existing product items.
 ProductItem[] getItems(CatalogRequest request, ProductItemKey[] productKeys)
          Deprecated Returns the product items with the given product item keys.
 String[] getKeywords(CatalogRequest request, ProductItemKey productKey)
          Deprecated Returns the keywords associated with a given product item.
 void removeItem(CatalogRequest request, ProductItemKey productKey)
          Deprecated Removes a product item.
 void setKeywords(CatalogRequest request, ProductItemKey productKey, String[] keywords)
          Deprecated Sets the keywords for a given product item.
 void setSessionContext(javax.ejb.SessionContext ctx)
          Deprecated setSessionContext method.
 void updateItem(CatalogRequest request, ProductItem product)
          Deprecated Updates a product item.
 
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
 

Constructor Detail

JdbcProductItemManagerImpl

public JdbcProductItemManagerImpl()
Deprecated 
Method Detail

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Deprecated 
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 
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 
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 
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 
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 
Description copied from class: SessionImpl
setSessionContext method.

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

getItemCount

public int getItemCount(CatalogRequest request)
                 throws CatalogException
Deprecated 
Returns the number of product items in the product catalog.

Specified by:
getItemCount in interface ProductItemManagerBusiness
Parameters
request - The catalog request object
Returns
The number of product items in the product catalog.
Throws
CatalogException - on general error.

getItem

public ProductItem getItem(CatalogRequest request,
                           ProductItemKey productKey)
                    throws CatalogFinderException,
                           CatalogException
Deprecated 
Returns the product item with the specified key.

Specified by:
getItem in interface ProductItemManagerBusiness
Parameters
request - The catalog request object.
productKey - The key of the target product.
Throws
CatalogFinderException - if the product item could not be found.
CatalogException - on general error.

getItems

public ProductItem[] getItems(CatalogRequest request,
                              ProductItemKey[] productKeys)
                       throws CatalogFinderException,
                              CatalogException
Deprecated 
Returns the product items with the given product item keys.

Specified by:
getItems in interface ProductItemManagerBusiness
Parameters
request - The catalog request object.
keys - The keys of the target product items.
Returns
The product items with the given product item keys.
Throws
CatalogFinderException - if a product item with a given key does not exist.
CatalogException - on general error.

getItemKeys

public ProductItemKey[] getItemKeys(CatalogRequest request,
                                    int beginIndex,
                                    int endIndex)
                             throws CatalogException
Deprecated 
Returns an array over all existing product item keys within the specified ordered range.

Specified by:
getItemKeys in interface ProductItemManagerBusiness
Parameters
request - The catalog request object.
beginIndex - The lower bound index for returned product item keys.
endIndex - The upper bound index for returned product item keys.
Returns
An array of the product item keys.
Throws
CatalogException - on general error.

getItems

public ViewIterator getItems(CatalogRequest request,
                             int viewSize)
                      throws CatalogException,
                             RemoteException
Deprecated 
Returns a ViewIterator over all existing product items.

Specified by:
getItems in interface ProductItemManagerBusiness
Parameters
request - The catalog request object.
viewSize - The view size of the returned ViewIterator.
Returns
A ViewIterator over all existing product items.
Throws
CatalogException - on general error.
RemoteException

getKeywords

public String[] getKeywords(CatalogRequest request,
                            ProductItemKey productKey)
                     throws CatalogFinderException,
                            CatalogException
Deprecated 
Returns the keywords associated with a given product item.

Specified by:
getKeywords in interface ProductItemManagerBusiness
Parameters
request - The catalog request object.
productKey - The key of the target product.
Returns
The keywords associated with the given product item. If there are no keywords associated with the item, a zero length <code>String</code> array is returned.
Throws
CatalogFinderException - if the product item could not be found.
CatalogException - on general error.
SQLException - on database access error.

setKeywords

public void setKeywords(CatalogRequest request,
                        ProductItemKey productKey,
                        String[] keywords)
                 throws CatalogFinderException,
                        CatalogException
Deprecated 
Sets the keywords for a given product item.

Specified by:
setKeywords in interface ProductItemManagerBusiness
Parameters
request - The catalog request object.
productKey - The key of the target product.
keywords - The keywords to associate with the given product item.
Throws
CatalogFinderException - if the product item could not be found.
CatalogException - on general error.
SQLException - on database access error.

createItem

public void createItem(CatalogRequest request,
                       ProductItem product)
                throws CatalogCreateException,
                       CatalogException
Deprecated 
Creates a new product item.

Specified by:
createItem in interface ProductItemManagerBusiness
Parameters
request - The catalog request object.
product - The product item to persist.
Throws
CatalogCreateException - if the product item could not be created.
CatalogException - on general error.

updateItem

public void updateItem(CatalogRequest request,
                       ProductItem product)
                throws CatalogFinderException,
                       CatalogException
Deprecated 
Updates a product item.

Specified by:
updateItem in interface ProductItemManagerBusiness
Parameters
request - The catalog request object.
product - The product item to update.
Throws
CatalogFinderException - if the product item could not be found.
CatalogException - on general error.

removeItem

public void removeItem(CatalogRequest request,
                       ProductItemKey productKey)
                throws CatalogRemoveException,
                       CatalogFinderException,
                       CatalogException
Deprecated 
Removes a product item.

Specified by:
removeItem in interface ProductItemManagerBusiness
Parameters
request - The catalog request object.
product - The product item to remove.
Throws
CatalogRemoveException - if the product item could not be removed.
CatalogFinderException - if the product item could not be found.
CatalogException - on general error.


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.