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:
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.
Related Topics
CatalogManager
CatalogManagerHome
CategoryManager
ProductItemManager
CatalogQueryManager
CustomDataManager
Object
SessionImpl
CatalogServiceImpl
CatalogManagerImpl
EnterpriseBean
, Serializable
, SessionBean
Field Summary |
Fields from com.beasys.commerce.ebusiness.catalog.service. |
|
Fields from com.beasys.commerce.foundation. |
|
Constructor Summary |
Method Summary |
public |
|
public |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public void |
|
Methods from com.beasys.commerce.ebusiness.catalog.service. |
|
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface javax.ejb. |
ejbActivate, ejbPassivate, ejbRemove, setSessionContext |
Constructor Detail |
public CatalogManagerImpl()
Method Detail |
public CatalogRequest
createAdminCatalogRequest()
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.
Related Topics
CatalogManager.createCatalogRequest()
public CatalogRequest
createCatalogRequest()
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.
Related Topics
CatalogManager.createAdminCatalogRequest()
public void ejbActivate()Description copied from
throwsEJBException
SessionImpl.ejbActivate()
CatalogServiceImpl.ejbActivate()
EJBException
public void ejbCreate()Description copied from
throwsCreateException
SessionImpl.ejbCreate()
CatalogServiceImpl.ejbCreate()
CreateException
public void ejbPassivate()Description copied from
throwsEJBException
SessionImpl.ejbPassivate()
CatalogServiceImpl.ejbPassivate()
EJBException
public void ejbPostCreate()Description copied from
throwsCreateException
SessionImpl.ejbPostCreate()
CatalogServiceImpl.ejbPostCreate()
CreateException
public void ejbRemove()Description copied from
throwsEJBException
SessionImpl.ejbRemove()
CatalogServiceImpl.ejbRemove()
EJBException
publicReturns the CatalogQueryManager catalog service.CatalogQueryManager
getCatalogQueryManager(CatalogRequest
request)
Related Topics
CatalogQueryManager
CatalogManager.createCatalogRequest()
CatalogManager.createAdminCatalogRequest()
publicReturns the CategoryManager catalog service.CategoryManager
getCategoryManager(CatalogRequest
request)
Related Topics
CategoryManager
CatalogManager.createCatalogRequest()
CatalogManager.createAdminCatalogRequest()
publicReturns the CustomDataManager catalog service.CustomDataManager
getCustomDataManager(CatalogRequest
request)
Related Topics
CustomDataManager
CatalogManager.createCatalogRequest()
CatalogManager.createAdminCatalogRequest()
publicReturns the ProductItemManager catalog service.ProductItemManager
getProductItemManager(CatalogRequest
request)
Related Topics
ProductItemManager
CatalogManager.createCatalogRequest()
CatalogManager.createAdminCatalogRequest()
public void onRemoveItem(Callback method. Services that remove items:CatalogRequest
request,CatalogItemKey
itemKey)
CategoryManager.removeCategory
and
ProductItemMananger.removeItem
should notify the CatalogManager
that the items
have been removed.
public void setSessionContext(Description copied fromSessionContext
ctx)
throwsEJBException
SessionImpl.setSessionContext(SessionContext)
CatalogServiceImpl.setSessionContext(SessionContext)
EJBException