Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2008 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.ebusiness.catalog.service.category
Class JdbcCategoryManagerImpl

    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.category.JdbcCategoryManagerImpl

All Implemented Interfaces
  CategoryManagerBusiness, Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

Deprecated See BEA Commerce product offering

    @Deprecated
    public class JdbcCategoryManagerImpl

extends JdbcCatalogServiceImpl
implements CategoryManagerBusiness

Implementation class for the Tier 2 service provider that manages catalog categories using a JDBC persistence model. This class should not be accessed directly, instead all catalog access should pass through the CatalogManager.getCategoryManager method.

See Also
  `CatalogManager`, `JdbcCategoryManager`, `JdbcCategoryManagerHome`, 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
`JdbcCategoryManagerImpl()` Deprecated See BEA Commerce product offering

Method Summary
`void` | `addItem(CatalogRequest request, CategoryKey categoryKey, ProductItemKey itemKey)` Deprecated See BEA Commerce product offering
`void` | `createCategory(CatalogRequest request, CategoryKey parentKey, Category category)` Deprecated See BEA Commerce product offering
`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
`Category[]` | `getAncestors(CatalogRequest request, CategoryKey categoryKey)` Deprecated See BEA Commerce product offering
`Category[]` | `getCategories(CatalogRequest request, CategoryKey[] categoryKeys)` Deprecated See BEA Commerce product offering
`ViewIterator` | `getCategories(CatalogRequest request, int viewSize)` Deprecated See BEA Commerce product offering
`Category` | `getCategory(CatalogRequest request, CategoryKey categoryKey)` Deprecated See BEA Commerce product offering
`int` | `getCategoryCount(CatalogRequest request)` Deprecated See BEA Commerce product offering
`CategoryKey[]` | `getCategoryKeys(CatalogRequest request, int beginIndex, int endIndex)` Deprecated See BEA Commerce product offering
`CategoryKey[]` | `getItemCategories(CatalogRequest request, ProductItemKey productKey)` Deprecated See BEA Commerce product offering
`CategoryKey[][]` | `getItemCategories(CatalogRequest request, ProductItemKey[] productKeys)` Deprecated See BEA Commerce product offering
`int` | `getItemCount(CatalogRequest request, CategoryKey categoryKey)` Deprecated See BEA Commerce product offering
`ProductItemKey[]` | `getItemKeys(CatalogRequest request, CategoryKey categoryKey, int beginIndex, int endIndex)` Deprecated See BEA Commerce product offering
`ViewIterator` | `getItems(CatalogRequest request, CategoryKey categoryKey, int viewSize)` Deprecated See BEA Commerce product offering
`int` | `getOrphanedItemCount(CatalogRequest request)` Deprecated See BEA Commerce product offering
`ProductItemKey[]` | `getOrphanedItemKeys(CatalogRequest request, int beginIndex, int endIndex)` Deprecated See BEA Commerce product offering
`ViewIterator` | `getOrphanedItems(CatalogRequest request, int viewSize)` Deprecated See BEA Commerce product offering
`Category` | `getParent(CatalogRequest request, CategoryKey categoryKey)` Deprecated See BEA Commerce product offering
`Category` | `getRootCategory(CatalogRequest request)` Deprecated See BEA Commerce product offering
`int` | `getSiblingCount(CatalogRequest request, CategoryKey categoryKey)` Deprecated See BEA Commerce product offering
`CategoryKey[]` | `getSiblingKeys(CatalogRequest request, CategoryKey categoryKey, int beginIndex, int endIndex)` Deprecated See BEA Commerce product offering
`ViewIterator` | `getSiblings(CatalogRequest request, CategoryKey categoryKey, int viewSize)` Deprecated See BEA Commerce product offering
`ViewIterator` | `getSubCategories(CatalogRequest request, CategoryKey categoryKey, int viewSize)` Deprecated See BEA Commerce product offering
`int` | `getSubCategoryCount(CatalogRequest request, CategoryKey categoryKey)` Deprecated See BEA Commerce product offering
`CategoryKey[]` | `getSubCategoryKeys(CatalogRequest request, CategoryKey categoryKey, int beginIndex, int endIndex)` Deprecated See BEA Commerce product offering
`void` | `moveCategory(CatalogRequest request, CategoryKey categoryKey, CategoryKey newParentKey)` Deprecated See BEA Commerce product offering
`void` | `removeCategory(CatalogRequest request, CategoryKey categoryKey)` Deprecated See BEA Commerce product offering
`void` | `removeItem(CatalogRequest request, CategoryKey categoryKey, ProductItemKey itemKey)` Deprecated See BEA Commerce product offering
`void` | `setSessionContext(javax.ejb.SessionContext ctx)` Deprecated See BEA Commerce product offering
`void` | `updateCategory(CatalogRequest request, Category category)` 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`

Constructor Detail

### JdbcCategoryManagerImpl

    public JdbcCategoryManagerImpl()

  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`

### getRootCategory

    public Category getRootCategory(CatalogRequest request)
                             throws CatalogCreateException,
                                    CatalogException

  Deprecated See BEA Commerce product offering

  Returns the root category. If the root cattegory does not exist, it will be created.

  Specified by:
    `getRootCategory` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
  Returns
    The root category.
  Throws
    `CatalogCreateException` - if the root category could not be created.
    `CatalogException` - on general error.

### getCategoryCount

    public int getCategoryCount(CatalogRequest request)
                         throws CatalogException

  Deprecated See BEA Commerce product offering

  Returns the total number of categories in the product catalog.

  Specified by:
    `getCategoryCount` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
  Returns
    The total number of categories in the product catalog.
  Throws
    `CatalogException` - on general error.

### getItemCount

    public int getItemCount(CatalogRequest request,
                            CategoryKey categoryKey)
                     throws CatalogFinderException,
                            CatalogException

  Deprecated See BEA Commerce product offering

  Returns the number of product items associated with the specified category.

  Specified by:
    `getItemCount` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
  Returns
    The number of product items associated with the specified category.
  Throws
    `CatalogFinderException` - if the specified category could not be found.
    `CatalogException` - on general error.

### getSubCategoryCount

    public int getSubCategoryCount(CatalogRequest request,
                                   CategoryKey categoryKey)
                            throws CatalogFinderException,
                                   CatalogException

  Deprecated See BEA Commerce product offering

  Returns the number of sub categories associated with the specified category.

  Specified by:
    `getSubCategoryCount` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
  Returns
    The number of sub categories associated with the specified category.
  Throws
    `CatalogFinderException` - if the specified category could not be found.
    `CatalogException` - on general error.

### getSiblingCount

    public int getSiblingCount(CatalogRequest request,
                               CategoryKey categoryKey)
                        throws CatalogFinderException,
                               CatalogException

  Deprecated See BEA Commerce product offering

  Returns the number of siblings associated with the specified category.

  Specified by:
    `getSiblingCount` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
  Returns
    The number of siblings associated with the specified category.
  Throws
    `CatalogFinderException` - if the specified category could not be found.
    `CatalogException` - on general error.

### getOrphanedItemCount

    public int getOrphanedItemCount(CatalogRequest request)
                             throws CatalogException

  Deprecated See BEA Commerce product offering

  Returns the number of orphaned items in the catalog.

  Specified by:
    `getOrphanedItemCount` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
  Returns
    The number of orphaned items in the catalog.
  Throws
    `CatalogException` - on general error.

### getCategory

    public Category getCategory(CatalogRequest request,
                                CategoryKey categoryKey)
                         throws CatalogFinderException,
                                CatalogException

  Deprecated See BEA Commerce product offering

  Returns the category with the given category key.

  Specified by:
    `getCategory` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
  Returns
    The category with the given category key.
  Throws
    `CatalogFinderException` - if a category with the given key does not exist.
    `CatalogException` - on general error.

### getCategories

    public Category[] getCategories(CatalogRequest request,
                                    CategoryKey[] categoryKeys)
                             throws CatalogFinderException,
                                    CatalogException

  Deprecated See BEA Commerce product offering

  Returns the categories with the given category keys.

  Specified by:
    `getCategories` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `keys` - The keys of the target categories.
  Returns
    The categories with the given category keys.
  Throws
    `CatalogFinderException` - if a category with a given key does not exist.
    `CatalogException` - on general error.

### getCategoryKeys

    public CategoryKey[] getCategoryKeys(CatalogRequest request,
                                         int beginIndex,
                                         int endIndex)
                                  throws CatalogException

  Deprecated See BEA Commerce product offering

  Returns an array of all existing category keys within the specified ordered range.

  Specified by:
    `getCategoryKeys` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `beginIndex` - The lower bound index for returned category keys.
    `endIndex` - The upper bound index for returned category keys.
  Returns
    An array of the category keys.
  Throws
    `CatalogException` - on general error.

### getCategories

    public ViewIterator getCategories(CatalogRequest request,
                                      int viewSize)
                               throws RemoteException,
                                      CatalogException

  Deprecated See BEA Commerce product offering

  Returns a ViewIterator over all existing categories.

  Specified by:
    `getCategories` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `viewSize` - The view size of the returned ViewIterator.
  Returns
    A ViewIterator over the categories.
  Throws
    `CatalogException` - on general error.
    `RemoteException`

### getSiblingKeys

    public CategoryKey[] getSiblingKeys(CatalogRequest request,
                                        CategoryKey categoryKey,
                                        int beginIndex,
                                        int endIndex)
                                 throws CatalogException

  Deprecated See BEA Commerce product offering

  Returns an array of all exististing sibling keys of the specified category within the specified ordered range.

  Specified by:
    `getSiblingKeys` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
    `beginIndex` - The lower bound index for returned sibling keys.
    `endIndex` - The upper bound index for returned sibling keys.
  Returns
    An array of the sibling keys.
  Throws
    `CatalogException` - on general error.

### getSiblings

    public ViewIterator getSiblings(CatalogRequest request,
                                    CategoryKey categoryKey,
                                    int viewSize)
                             throws RemoteException,
                                    CatalogException

  Deprecated See BEA Commerce product offering

  Returns a ViewIterator over all siblings of the specified category.

  Specified by:
    `getSiblings` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
    `viewSize` - The view size of the returned ViewIterator.
  Returns
    A ViewIterator over all siblings.
  Throws
    `CatalogException` - on general error.
    `RemoteException`

### getSubCategoryKeys

    public CategoryKey[] getSubCategoryKeys(CatalogRequest request,
                                            CategoryKey categoryKey,
                                            int beginIndex,
                                            int endIndex)
                                     throws CatalogException

  Deprecated See BEA Commerce product offering

  Returns an array of all sub category keys of the specified category within the specified ordered range.

  Specified by:
    `getSubCategoryKeys` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
    `beginIndex` - The lower bound index for returned sub category keys.
    `endIndex` - The upper bound index for returned sub category keys.
  Returns
    An array of all the sub category keys.
  Throws
    `CatalogException` - on general error.

### getSubCategories

    public ViewIterator getSubCategories(CatalogRequest request,
                                         CategoryKey categoryKey,
                                         int viewSize)
                                  throws RemoteException,
                                         CatalogException

  Deprecated See BEA Commerce product offering

  Returns a ViewIterator over all sub categories of the specified category.

  Specified by:
    `getSubCategories` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
    `viewSize` - The view size of the returned ViewIterator.
  Returns
    A ViewIterator over all the sub categories.
  Throws
    `CatalogException` - on general error.
    `RemoteException`

### getAncestors

    public Category[] getAncestors(CatalogRequest request,
                                   CategoryKey categoryKey)
                            throws CatalogException

  Deprecated See BEA Commerce product offering

  Returns the ancestors of the specified category in ascending order.

  Specified by:
    `getAncestors` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
  Returns
    An array of ancestor categories in ascending order.
  Throws
    `CatalogException` - on general error.

### getParent

    public Category getParent(CatalogRequest request,
                              CategoryKey categoryKey)
                       throws CatalogFinderException,
                              CatalogException

  Deprecated See BEA Commerce product offering

  Returns the parent of the specified category.

  Specified by:
    `getParent` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
  Returns
    The parent of the specified category.
  Throws
    `CatalogFinderException` - if the parent could not be found. This could happen if the specified category does not exist or is the root category.
    `CatalogException` - on general error.

### getItemKeys

    public ProductItemKey[] getItemKeys(CatalogRequest request,
                                        CategoryKey categoryKey,
                                        int beginIndex,
                                        int endIndex)
                                 throws CatalogException

  Deprecated See BEA Commerce product offering

  Returns an array of all product item keys of the specified category within the specified ordered range.

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

### getItems

    public ViewIterator getItems(CatalogRequest request,
                                 CategoryKey categoryKey,
                                 int viewSize)
                          throws RemoteException,
                                 CatalogException

  Deprecated See BEA Commerce product offering

  Returns a ViewIterator over all product items of the specified category.

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

### getOrphanedItemKeys

    public ProductItemKey[] getOrphanedItemKeys(CatalogRequest request,
                                                int beginIndex,
                                                int endIndex)
                                         throws CatalogException

  Deprecated See BEA Commerce product offering

  Returns an array of all existing orphaned category keys within the specified ordered range.

  Specified by:
    `getOrphanedItemKeys` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `beginIndex` - The lower bound index for returned category keys.
    `endIndex` - The upper bound index for returned category keys.
  Returns
    An array of the orphaned category keys.
  Throws
    `CatalogException` - on general error.

### getOrphanedItems

    public ViewIterator getOrphanedItems(CatalogRequest request,
                                         int viewSize)
                                  throws RemoteException,
                                         CatalogException

  Deprecated See BEA Commerce product offering

  Returns a ViewIterator over all existing orphaned categories.

  Specified by:
    `getOrphanedItems` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `viewSize` - The view size of the returned ViewIterator.
  Returns
    A ViewIterator over all existing orphaned categories.
  Throws
    `CatalogException` - on general error.
    `RemoteException`

### createCategory

    public void createCategory(CatalogRequest request,
                               CategoryKey parentKey,
                               Category category)
                        throws CatalogCreateException,
                               CatalogException

  Deprecated See BEA Commerce product offering

  Creates a sub category within the supplied parent category.

  Specified by:
    `createCategory` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `parentKey` - The key of the target parent category.
    `category` - The category to persist.
  Throws
    `CatalogCreateException` - on category creation error.
    `CatalogException` - on general error.

### removeCategory

    public void removeCategory(CatalogRequest request,
                               CategoryKey categoryKey)
                        throws CatalogRemoveException,
                               CatalogFinderException,
                               CatalogException

  Deprecated See BEA Commerce product offering

  Removes the specifed category.

  Specified by:
    `removeCategory` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
  Throws
    `CatalogRemoveException` - if the specified category could not be removed.
    `CatalogFinderException` - if the specified category could not be found.
    `CatalogException` - on general error.

### updateCategory

    public void updateCategory(CatalogRequest request,
                               Category category)
                        throws CatalogFinderException,
                               CatalogException

  Deprecated See BEA Commerce product offering

  Updates the specifed category.

  Specified by:
    `updateCategory` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `category` - The category to update.
  Throws
    `CatalogFinderException` - if the specified category could not be found.
    `CatalogException` - on general error.

### moveCategory

    public void moveCategory(CatalogRequest request,
                             CategoryKey categoryKey,
                             CategoryKey newParentKey)
                      throws CatalogFinderException,
                             CatalogException

  Deprecated See BEA Commerce product offering

  Moves the specifed category.

  Specified by:
    `moveCategory` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of the target category.
    `parentKey` - The key of the new parent category.
  Throws
    `CatalogFinderException` - if the specified target or parent category could not be found.
    `CatalogException` - on general error.

### addItem

    public void addItem(CatalogRequest request,
                        CategoryKey categoryKey,
                        ProductItemKey itemKey)
                 throws CatalogFinderException,
                        CatalogException

  Deprecated See BEA Commerce product offering

  Adds an item to the specified category.

  Specified by:
    `addItem` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of target category.
    `itemKey` - The key of the target item.
  Throws
    `CatalogFinderException` - if the target category or item could not be found.
    `CatalogException` - on general error.

### removeItem

    public void removeItem(CatalogRequest request,
                           CategoryKey categoryKey,
                           ProductItemKey itemKey)
                    throws CatalogFinderException,
                           CatalogException

  Deprecated See BEA Commerce product offering

  Removes an item from the specified category.

  Specified by:
    `removeItem` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `categoryKey` - The key of target category.
    `itemKey` - The key of the target item.
  Throws
    `CatalogFinderException` - if the target category could not be found.
    `CatalogException` - on general error.

### getItemCategories

    public CategoryKey[] getItemCategories(CatalogRequest request,
                                           ProductItemKey productKey)
                                    throws RemoteException,
                                           CatalogFinderException,
                                           CatalogException

  Deprecated See BEA Commerce product offering

  Gets all the categories that an item is a part of.

  Specified by:
    `getItemCategories` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `productKey` - ProductItemKey of the product item concerned.
  Returns
    An array of category keys.
  Throws
    `CatalogFinderException` - if the product item could not be found.
    `CatalogException` - on general error.
    `RemoteException`

### getItemCategories

    public CategoryKey[][] getItemCategories(CatalogRequest request,
                                             ProductItemKey[] productKeys)
                                      throws RemoteException,
                                             CatalogException

  Deprecated See BEA Commerce product offering

  Returns an array of arrays of all the categories that items are part of. The order of the arrays returned is the same as the product item keys in the input. In case a product item key does not exist an empty array is returned.

  Specified by:
    `getItemCategories` in interface `CategoryManagerBusiness`
  Parameters
    `request` - The catalog request object.
    `productKeys` - Array of ProductItemKeys.
  Returns
    An array of arrays of category keys.
  Throws
    `CatalogException` - on general error.
    `RemoteException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 BEA Systems, Inc. All Rights Reserved