|
Copyright © 2000, 2009, 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.service.item.ProductItemManagerImpl
@Deprecated public class ProductItemManagerImpl
The implementation class for the ProductItemManager
Session EJB.
This implementation delegates to the service specifed by the following EJB
environment property:
delegateName
- specifies the delegatory ProductItemManager
service.
ProductItemManager
,
ProductItemManagerHome
,
CatalogManager
,
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 | |
---|---|
ProductItemManagerImpl()
Deprecated |
Method Summary | |
---|---|
void |
createItem(CatalogRequest request,
ProductItem product)
Deprecated Creates a new product item. |
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. |
ProductItem |
getItem(CatalogRequest request,
ProductItemKey productKey)
Deprecated Returns the product item with the specified key. |
int |
getItemCount(CatalogRequest request)
Deprecated Returns the number of product items in the product catalog. |
ProductItemKey[] |
getItemKeys(CatalogRequest request,
int beginIndex,
int endIndex)
Deprecated Returns an array over all existing product item keys within the specified ordered range. |
ViewIterator |
getItems(CatalogRequest request,
int viewSize)
Deprecated Returns a ViewIterator over all existing product items. |
ProductItem[] |
getItems(CatalogRequest request,
ProductItemKey[] productKeys)
Deprecated Returns the product items with the given product item keys. |
String[] |
getKeywords(CatalogRequest request,
ProductItemKey productKey)
Deprecated Returns the keywords associated with a given product item. |
void |
removeItem(CatalogRequest request,
ProductItemKey productKey)
Deprecated Removes a product item. |
void |
setKeywords(CatalogRequest request,
ProductItemKey productKey,
String[] keywords)
Deprecated Sets the keywords for a given product item. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Deprecated setSessionContext method. |
void |
updateItem(CatalogRequest request,
ProductItem product)
Deprecated Updates a product item. |
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 ProductItemManagerImpl()
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 int getItemCount(CatalogRequest request) throws CatalogException, RemoteException
request
- The catalog request object
CatalogException
- on general error.
RemoteException
public ProductItem getItem(CatalogRequest request, ProductItemKey productKey) throws CatalogFinderException, CatalogException, RemoteException
request
- The catalog request object.productKey
- The key of the target product.
CatalogFinderException
- if the product item could not be found.
CatalogException
- on general error.
RemoteException
public ProductItem[] getItems(CatalogRequest request, ProductItemKey[] productKeys) throws CatalogFinderException, CatalogException, RemoteException
request
- The catalog request object.keys
- The keys of the target product items.
CatalogFinderException
- if a product item with a given key does not exist.
CatalogException
- on general error.
RemoteException
public ProductItemKey[] getItemKeys(CatalogRequest request, int beginIndex, int endIndex) throws CatalogException, RemoteException
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.
CatalogException
- on general error.
RemoteException
public ViewIterator getItems(CatalogRequest request, int viewSize) throws CatalogException, RemoteException
request
- The catalog request object.viewSize
- The view size of the returned ViewIterator.
CatalogException
- on general error.
RemoteException
public String[] getKeywords(CatalogRequest request, ProductItemKey productKey) throws CatalogFinderException, CatalogException, RemoteException
request
- The catalog request object.productKey
- The key of the target product.
CatalogFinderException
- if the product item could not be found.
CatalogException
- on general error.
RemoteException
public void setKeywords(CatalogRequest request, ProductItemKey productKey, String[] keywords) throws CatalogFinderException, CatalogException, RemoteException
request
- The catalog request object.productKey
- The key of the target product.keywords
- The keywords to associate with the given product item.
CatalogFinderException
- if the product item could not be found.
CatalogException
- on general error.
RemoteException
public void createItem(CatalogRequest request, ProductItem product) throws CatalogCreateException, CatalogException, RemoteException
request
- The catalog request object.product
- The product item to persist.
CatalogCreateException
- if the product item could not be created.
CatalogException
- on general error.
RemoteException
public void updateItem(CatalogRequest request, ProductItem product) throws CatalogFinderException, CatalogException, RemoteException
request
- The catalog request object.product
- The product item to update.
CatalogFinderException
- if the product item could not be found.
CatalogException
- on general error.
RemoteException
public void removeItem(CatalogRequest request, ProductItemKey productKey) throws CatalogRemoveException, CatalogFinderException, CatalogException, RemoteException
request
- The catalog request object.product
- The product item to remove.
CatalogRemoveException
- if the product item could not be removed.
CatalogFinderException
- if the product item could not be found.
CatalogException
- on general error.
RemoteException
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |