com.beasys.commerce.ebusiness.catalog
Class CatalogManagerImpl

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

Deprecated See BEA Commerce product offering

@Deprecated
public class CatalogManagerImpl
extends CatalogServiceImpl

The implementation class for the CatalogManager Session EJB.

Each service that is managed by an instance of the CatalogManager is specified by an EJB reference environment property:

Multiple Product Catalogs may be created by deploying a CatalogManager service for each Product Catalog. Each CatalogManager can manage a different set of Catalog services by way of modifying the service EJB references in the deployment descriptor. Each managed Catalog service may also be deployed multiple times with different service implementation delegates (as specified in each Catalog service deployment descriptor). In this way each deployed CatalogManager can managed a unique set of Catalog services.

See Also
CatalogManager, CatalogManagerHome, CategoryManager, ProductItemManager, CatalogQueryManager, CustomDataManager, Serialized Form

Field Summary
 
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
CatalogManagerImpl()
          Deprecated See BEA Commerce product offering
 
Method Summary
 CatalogRequest createAdminCatalogRequest()
          Deprecated See BEA Commerce product offering
 CatalogRequest createCatalogRequest()
          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
 CatalogQueryManager getCatalogQueryManager(CatalogRequest request)
          Deprecated See BEA Commerce product offering
 CategoryManager getCategoryManager(CatalogRequest request)
          Deprecated See BEA Commerce product offering
 CustomDataManager getCustomDataManager(CatalogRequest request)
          Deprecated See BEA Commerce product offering
 ProductItemManager getProductItemManager(CatalogRequest request)
          Deprecated See BEA Commerce product offering
 void onRemoveItem(CatalogRequest request, CatalogItemKey itemKey)
          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.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

CatalogManagerImpl

public CatalogManagerImpl()
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 CatalogServiceImpl
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 CatalogServiceImpl
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 CatalogServiceImpl
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 CatalogServiceImpl
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 CatalogServiceImpl
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 CatalogServiceImpl
Throws
javax.ejb.EJBException

getCategoryManager

public CategoryManager getCategoryManager(CatalogRequest request)
Deprecated See BEA Commerce product offering

Returns the CategoryManager catalog service.

Parameters
request - the user's current CatalogRequest
Returns
the CategoryManager service
See Also
CategoryManager, CatalogManagerBusiness.createCatalogRequest(), CatalogManagerBusiness.createAdminCatalogRequest()

getProductItemManager

public ProductItemManager getProductItemManager(CatalogRequest request)
Deprecated See BEA Commerce product offering

Returns the ProductItemManager catalog service.

Parameters
request - the user's current CatalogRequest
Returns
the ProductItemManager service
See Also
ProductItemManager, CatalogManagerBusiness.createCatalogRequest(), CatalogManagerBusiness.createAdminCatalogRequest()

getCatalogQueryManager

public CatalogQueryManager getCatalogQueryManager(CatalogRequest request)
Deprecated See BEA Commerce product offering

Returns the CatalogQueryManager catalog service.

Parameters
request - the user's current CatalogRequest
Returns
the CatalogQueryManager service
See Also
CatalogQueryManager, CatalogManagerBusiness.createCatalogRequest(), CatalogManagerBusiness.createAdminCatalogRequest()

getCustomDataManager

public CustomDataManager getCustomDataManager(CatalogRequest request)
Deprecated See BEA Commerce product offering

Returns the CustomDataManager catalog service.

Parameters
request - the user's current CatalogRequest
Returns
the CustomDataManager service
See Also
CustomDataManager, CatalogManagerBusiness.createCatalogRequest(), CatalogManagerBusiness.createAdminCatalogRequest()

onRemoveItem

public void onRemoveItem(CatalogRequest request,
                         CatalogItemKey itemKey)
Deprecated See BEA Commerce product offering

Callback method. Services that remove items: CategoryManager.removeCategory and ProductItemMananger.removeItem should notify the CatalogManager that the items have been removed.

Parameters
request - the current CatalogRequest for the user
itemKey - the key for the item being removed

createCatalogRequest

public CatalogRequest createCatalogRequest()
Deprecated See BEA Commerce product offering

Creates a CatalogRequest with default user access permissions. The CatalogRequest object is the first parameter to most catalog methods and encapsulates information about the current user and the data they are requesting.

See Also
CatalogManagerBusiness.createAdminCatalogRequest()

createAdminCatalogRequest

public CatalogRequest createAdminCatalogRequest()
Deprecated See BEA Commerce product offering

Creates a CatalogRequest with administrative user access permissions. The CatalogRequest object is the first parameter to most catalog methods and encapsulates information about the current user and the data they are requesting.

See Also
CatalogManagerBusiness.createCatalogRequest()


Copyright © 2008 BEA Systems, Inc. All Rights Reserved