|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beasys.commerce.foundation.SessionImpl
com.beasys.commerce.ebusiness.catalog.service.CatalogServiceImpl
com.beasys.commerce.ebusiness.catalog.service.category.CategoryManagerImpl
@Deprecated public class CategoryManagerImpl
Implementation class for the CategoryManagerImpl Tier 1 service provider interface. This class implementats caching support for categories.
CategoryManager
,
CategoryManagerHome
,
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 | |
---|---|
CategoryManagerImpl()
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.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 CategoryManagerImpl()
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 Category getRootCategory(CatalogRequest request) throws RemoteException, CatalogCreateException, CatalogException
request
- The catalog request object.
CatalogCreateException
- if the root category could not be created.
CatalogException
- on general error.
RemoteException
public int getCategoryCount(CatalogRequest request) throws RemoteException, CatalogException
request
- The catalog request object.
CatalogException
- on general error.
RemoteException
public int getItemCount(CatalogRequest request, CategoryKey categoryKey) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.
CatalogFinderException
- if the specified category could not be found.
CatalogException
- on general error.
RemoteException
public int getSubCategoryCount(CatalogRequest request, CategoryKey categoryKey) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.
CatalogFinderException
- if the specified category could not be found.
CatalogException
- on general error.
RemoteException
public int getSiblingCount(CatalogRequest request, CategoryKey categoryKey) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.
CatalogFinderException
- if the specified category could not be found.
CatalogException
- on general error.
RemoteException
public int getOrphanedItemCount(CatalogRequest request) throws RemoteException, CatalogException
request
- The catalog request object.
CatalogException
- on general error.
RemoteException
public Category getCategory(CatalogRequest request, CategoryKey categoryKey) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.
CatalogFinderException
- if a category with the given key does not exist.
CatalogException
- on general error.
RemoteException
public Category[] getCategories(CatalogRequest request, CategoryKey[] categoryKeys) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.keys
- The keys of the target categories.
CatalogFinderException
- if a category with a given key does not exist.
CatalogException
- on general error.
RemoteException
public CategoryKey[] getCategoryKeys(CatalogRequest request, int beginIndex, int endIndex) throws RemoteException, CatalogException
request
- The catalog request object.beginIndex
- The lower bound index for returned category keys.endIndex
- The upper bound index for returned category keys.
CatalogException
- on general error.
RemoteException
public ViewIterator getCategories(CatalogRequest request, int viewSize) throws RemoteException, CatalogException
request
- The catalog request object.viewSize
- The view size of the returned ViewIterator.
CatalogException
- on general error.
RemoteException
public CategoryKey[] getSiblingKeys(CatalogRequest request, CategoryKey categoryKey, int beginIndex, int endIndex) throws RemoteException, CatalogException
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.
CatalogException
- on general error.
RemoteException
public ViewIterator getSiblings(CatalogRequest request, CategoryKey categoryKey, int viewSize) throws RemoteException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.viewSize
- The view size of the returned ViewIterator.
CatalogException
- on general error.
RemoteException
public CategoryKey[] getSubCategoryKeys(CatalogRequest request, CategoryKey categoryKey, int beginIndex, int endIndex) throws RemoteException, CatalogException
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.
CatalogException
- on general error.
RemoteException
public ViewIterator getSubCategories(CatalogRequest request, CategoryKey categoryKey, int viewSize) throws RemoteException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.viewSize
- The view size of the returned ViewIterator.
CatalogException
- on general error.
RemoteException
public Category[] getAncestors(CatalogRequest request, CategoryKey categoryKey) throws RemoteException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.
CatalogException
- on general error.
RemoteException
public Category getParent(CatalogRequest request, CategoryKey categoryKey) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.
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.
RemoteException
public ProductItemKey[] getItemKeys(CatalogRequest request, CategoryKey categoryKey, int beginIndex, int endIndex) throws RemoteException, CatalogException
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.
CatalogException
- on general error.
RemoteException
public ViewIterator getItems(CatalogRequest request, CategoryKey categoryKey, int viewSize) throws RemoteException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.viewSize
- The view size of the returned ViewIterator.
CatalogException
- on general error.
RemoteException
public ProductItemKey[] getOrphanedItemKeys(CatalogRequest request, int beginIndex, int endIndex) throws RemoteException, CatalogException
request
- The catalog request object.beginIndex
- The lower bound index for returned category keys.endIndex
- The upper bound index for returned category keys.
CatalogException
- on general error.
RemoteException
public ViewIterator getOrphanedItems(CatalogRequest request, int viewSize) throws RemoteException, CatalogException
request
- The catalog request object.viewSize
- The view size of the returned ViewIterator.
CatalogException
- on general error.
RemoteException
public void createCategory(CatalogRequest request, CategoryKey parentKey, Category category) throws RemoteException, CatalogCreateException, CatalogException
request
- The catalog request object.parentKey
- The key of the target parent category.category
- The category to persist.
CatalogCreateException
- on category creation error.
CatalogException
- on general error.
RemoteException
public void removeCategory(CatalogRequest request, CategoryKey categoryKey) throws RemoteException, CatalogRemoveException, CatalogFinderException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.
CatalogRemoveException
- if the specified category could not be removed.
CatalogFinderException
- if the specified category could not be found.
CatalogException
- on general error.
RemoteException
public void updateCategory(CatalogRequest request, Category category) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.category
- The category to update.
CatalogFinderException
- if the specified category could not be found.
CatalogException
- on general error.
RemoteException
public void moveCategory(CatalogRequest request, CategoryKey categoryKey, CategoryKey newParentKey) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.categoryKey
- The key of the target category.parentKey
- The key of the new parent category.
CatalogFinderException
- if the specified target or parent category could not be found.
CatalogException
- on general error.
RemoteException
public void addItem(CatalogRequest request, CategoryKey categoryKey, ProductItemKey itemKey) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.categoryKey
- The key of target category.itemKey
- The key of the target item.
CatalogFinderException
- if the target category or item could not be found.
CatalogException
- on general error.
RemoteException
public void removeItem(CatalogRequest request, CategoryKey categoryKey, ProductItemKey itemKey) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.categoryKey
- The key of target category.itemKey
- The key of the target item.
CatalogFinderException
- if the target category could not be found.
CatalogException
- on general error.
RemoteException
public CategoryKey[] getItemCategories(CatalogRequest request, ProductItemKey productKey) throws RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.productKey
- ProductItemKey of the product item concerned.
CatalogFinderException
- if the product item could not be found.
CatalogException
- on general error.
RemoteException
public CategoryKey[][] getItemCategories(CatalogRequest request, ProductItemKey[] productKeys) throws RemoteException, CatalogException
request
- The catalog request object.productKeys
- Array of ProductItemKeys.
CatalogException
- on general error.
RemoteException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |