|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CatalogManager
is the main entry point to the Product Catalog.
It controls access to a number of discrete service interfaces:
category manager, product item manager, query manager and the custom
data manager.
In order to use the various Product Catalog services, one
must first create a CatalogManager
and then obtain discrete
service interfaces using the various service accessors. Each service interface
is responsible for delegating to an implementation service, as specified in
each service interface deployment environment. In this way, different service
implementations may be transparently substituted.
CatalogManagerHome
,
CatalogManagerImpl
,
CategoryManager
,
ProductItemManager
,
CatalogQueryManager
,
CustomDataManager
Method Summary | |
CatalogRequest |
createAdminCatalogRequest()
Creates a CatalogRequest with administrative user access permissions. |
CatalogRequest |
createCatalogRequest()
Creates a CatalogRequest with default user access permissions. |
CatalogQueryManager |
getCatalogQueryManager(CatalogRequest request)
Returns the CatalogQueryManager catalog service. |
CategoryManager |
getCategoryManager(CatalogRequest request)
Returns the CategoryManager catalog service. |
CustomDataManager |
getCustomDataManager(CatalogRequest request)
Returns the CustomDataManager catalog service. |
ProductItemManager |
getProductItemManager(CatalogRequest request)
Returns the ProductItemManager catalog service. |
void |
onRemoveItem(CatalogRequest request,
CatalogItemKey item)
Callback method. |
Methods inherited from interface com.beasys.commerce.ebusiness.catalog.service.CatalogService |
getCatalogManager |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public CategoryManager getCategoryManager(CatalogRequest request) throws java.rmi.RemoteException
request
- the user's current CatalogRequestCategoryManager
,
CatalogManager.createCatalogRequest
,
CatalogManager.createAdminCatalogRequest
public ProductItemManager getProductItemManager(CatalogRequest request) throws java.rmi.RemoteException
request
- the user's current CatalogRequestProductItemManager
,
CatalogManager.createCatalogRequest
,
CatalogManager.createAdminCatalogRequest
public CatalogQueryManager getCatalogQueryManager(CatalogRequest request) throws java.rmi.RemoteException
request
- the user's current CatalogRequestCatalogQueryManager
,
CatalogManager.createCatalogRequest
,
CatalogManager.createAdminCatalogRequest
public CustomDataManager getCustomDataManager(CatalogRequest request) throws java.rmi.RemoteException
request
- the user's current CatalogRequestCustomDataManager
,
CatalogManager.createCatalogRequest
,
CatalogManager.createAdminCatalogRequest
public void onRemoveItem(CatalogRequest request, CatalogItemKey item) throws java.rmi.RemoteException
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() throws java.rmi.RemoteException
CatalogManager.createAdminCatalogRequest
public CatalogRequest createAdminCatalogRequest() throws java.rmi.RemoteException
CatalogManager.createCatalogRequest
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |