|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Service interface for managing Product Items.
ProductItemManagerHome
,
ProductItemManagerImpl
,
CatalogManager
,
ProductItem
Method Summary | |
void |
createItem(CatalogRequest request,
ProductItem product)
Creates a new product item. |
ProductItem |
getItem(CatalogRequest request,
ProductItemKey productKey)
Returns the product item with the specified key. |
int |
getItemCount(CatalogRequest request)
Returns the number of product items in the product catalog. |
ProductItemKey[] |
getItemKeys(CatalogRequest request,
int beginIndex,
int endIndex)
Returns an array over all existing product item keys within the specified ordered range. |
ViewIterator |
getItems(CatalogRequest request,
int viewSize)
Returns a ViewIterator over all existing product items. |
ProductItem[] |
getItems(CatalogRequest request,
ProductItemKey[] productKeys)
Returns the product items with the given product item keys. |
java.lang.String[] |
getKeywords(CatalogRequest request,
ProductItemKey productKey)
Returns the keywords associated with a given product item. |
void |
removeItem(CatalogRequest request,
ProductItemKey productKey)
Removes a product item. |
void |
setKeywords(CatalogRequest request,
ProductItemKey productKey,
java.lang.String[] keywords)
Sets the keywords for a given product item. |
void |
updateItem(CatalogRequest request,
ProductItem product)
Updates a product item. |
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 int getItemCount(CatalogRequest request) throws java.rmi.RemoteException, CatalogException
request
- The catalog request objectpublic ProductItem getItem(CatalogRequest request, ProductItemKey productKey) throws java.rmi.RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.productKey
- The key of the target product.public ProductItem[] getItems(CatalogRequest request, ProductItemKey[] productKeys) throws java.rmi.RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.keys
- The keys of the target product items.public ProductItemKey[] getItemKeys(CatalogRequest request, int beginIndex, int endIndex) throws java.rmi.RemoteException, CatalogException
request
- The catalog request object.beginIndex
- The lower bound index for returned product item keys.endIndex
- The upper bound index for returned product item keys.public ViewIterator getItems(CatalogRequest request, int viewSize) throws java.rmi.RemoteException, CatalogException
request
- The catalog request object.viewSize
- The view size of the returned ViewIterator.public java.lang.String[] getKeywords(CatalogRequest request, ProductItemKey productKey) throws java.rmi.RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.productKey
- The key of the target product.public void setKeywords(CatalogRequest request, ProductItemKey productKey, java.lang.String[] keywords) throws java.rmi.RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.productKey
- The key of the target product.keywords
- The keywords to associate with the given product item.public void createItem(CatalogRequest request, ProductItem product) throws java.rmi.RemoteException, CatalogCreateException, CatalogException
request
- The catalog request object.product
- The product item to persist.public void updateItem(CatalogRequest request, ProductItem product) throws java.rmi.RemoteException, CatalogFinderException, CatalogException
request
- The catalog request object.product
- The product item to update.public void removeItem(CatalogRequest request, ProductItemKey productKey) throws java.rmi.RemoteException, CatalogRemoveException, CatalogFinderException, CatalogException
request
- The catalog request object.product
- The product item to remove.
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |