|
Copyright © 2000, 2008, 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.CatalogManagerImpl
@Deprecated public class CatalogManagerImpl
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:
ejb/ProductItemManager
- specifies the managed ProductItemManager
service.
ejb/CategoryManager
- specifies the managed CategoryManager
service.
ejb/CatalogQueryManager
- specifies the managed CatalogQueryManager
service.
ejb/CustomDataManager
- specifies the managed CustomDataManager
service.
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.
CatalogManager
,
CatalogManagerHome
,
CategoryManager
,
ProductItemManager
,
CatalogQueryManager
,
CustomDataManager
,
Serialized FormField 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 |
Method Summary | |
---|---|
CatalogRequest |
createAdminCatalogRequest()
Deprecated Creates a CatalogRequest with administrative user access permissions. |
CatalogRequest |
createCatalogRequest()
Deprecated Creates a CatalogRequest with default user access permissions. |
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. |
CatalogQueryManager |
getCatalogQueryManager(CatalogRequest request)
Deprecated Returns the CatalogQueryManager catalog service. |
CategoryManager |
getCategoryManager(CatalogRequest request)
Deprecated Returns the CategoryManager catalog service. |
CustomDataManager |
getCustomDataManager(CatalogRequest request)
Deprecated Returns the CustomDataManager catalog service. |
ProductItemManager |
getProductItemManager(CatalogRequest request)
Deprecated Returns the ProductItemManager catalog service. |
void |
onRemoveItem(CatalogRequest request,
CatalogItemKey itemKey)
Deprecated Callback method. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Deprecated setSessionContext method. |
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 |
Constructor Detail |
---|
public CatalogManagerImpl()
Method Detail |
---|
public void ejbCreate() throws javax.ejb.CreateException
SessionImpl
ejbCreate
in class CatalogServiceImpl
javax.ejb.CreateException
public void ejbPostCreate() throws javax.ejb.CreateException
SessionImpl
ejbPostCreate
in class CatalogServiceImpl
javax.ejb.CreateException
public void ejbActivate() throws javax.ejb.EJBException
SessionImpl
ejbActivate
in interface javax.ejb.SessionBean
ejbActivate
in class CatalogServiceImpl
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
SessionImpl
ejbPassivate
in interface javax.ejb.SessionBean
ejbPassivate
in class CatalogServiceImpl
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.EJBException
SessionImpl
ejbRemove
in interface javax.ejb.SessionBean
ejbRemove
in class CatalogServiceImpl
javax.ejb.EJBException
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException
SessionImpl
setSessionContext
in interface javax.ejb.SessionBean
setSessionContext
in class CatalogServiceImpl
javax.ejb.EJBException
public CategoryManager getCategoryManager(CatalogRequest request)
request
- the user's current CatalogRequest
CategoryManager
,
CatalogManagerBusiness.createCatalogRequest()
,
CatalogManagerBusiness.createAdminCatalogRequest()
public ProductItemManager getProductItemManager(CatalogRequest request)
request
- the user's current CatalogRequest
ProductItemManager
,
CatalogManagerBusiness.createCatalogRequest()
,
CatalogManagerBusiness.createAdminCatalogRequest()
public CatalogQueryManager getCatalogQueryManager(CatalogRequest request)
request
- the user's current CatalogRequest
CatalogQueryManager
,
CatalogManagerBusiness.createCatalogRequest()
,
CatalogManagerBusiness.createAdminCatalogRequest()
public CustomDataManager getCustomDataManager(CatalogRequest request)
request
- the user's current CatalogRequest
CustomDataManager
,
CatalogManagerBusiness.createCatalogRequest()
,
CatalogManagerBusiness.createAdminCatalogRequest()
public void onRemoveItem(CatalogRequest request, CatalogItemKey itemKey)
CategoryManager.removeCategory
and
ProductItemMananger.removeItem
should notify the CatalogManager
that the items
have been removed.
request
- the current CatalogRequest for the useritemKey
- the key for the item being removedpublic CatalogRequest createCatalogRequest()
CatalogManagerBusiness.createAdminCatalogRequest()
public CatalogRequest createAdminCatalogRequest()
CatalogManagerBusiness.createCatalogRequest()
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |