com.beasys.commerce.ebusiness.catalog.service.item
Class ProductItemIterator
java.lang.Object
com.beasys.commerce.ebusiness.catalog.CatalogItemIterator
com.beasys.commerce.ebusiness.catalog.service.item.ProductItemIterator
- All Implemented Interfaces
- ViewIterator, Serializable
Deprecated
@Deprecated
public class ProductItemIterator
- extends CatalogItemIterator
A ViewIterator
over ProductItem
s.
- See Also
View
,
ViewIterator
,
CatalogItemIterator
,
Serialized Form
Constructor Summary |
ProductItemIterator(String manangerJndiName,
CatalogRequest catalogRequest,
int numItems,
int viewSize)
Deprecated ProductItemIterator constructor that takes the total number
of spanned items, a view size, product item manager, and request object. |
Method Summary |
protected CatalogItem |
getCatalogItem(View view,
int itemIndex)
Deprecated Returns a CatalogItem within the current view. |
protected void |
refreshView(View view)
Deprecated This function is called whenever the current view needs to be refreshed. |
Methods inherited from class com.beasys.commerce.ebusiness.catalog.CatalogItemIterator |
getCatalogManager, getCatalogQueryManager, getCatalogRequest, getCategoryManager, getCurrentView, getCustomDataManager, getProductItemManager, getViewAt, getViewCount, gotoNextView, gotoPreviousView, gotoViewAt, hasNext, hasNextView, hasPreviousView, next, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProductItemIterator
public ProductItemIterator(String manangerJndiName,
CatalogRequest catalogRequest,
int numItems,
int viewSize)
- Deprecated
ProductItemIterator
constructor that takes the total number
of spanned items, a view size, product item manager, and request object.
refreshView
protected void refreshView(View view)
throws RemoteException
- Deprecated
- This function is called whenever the current view needs to be refreshed.
All classes that extend this class must implement this function.
- Specified by:
refreshView
in class CatalogItemIterator
- Parameters
view
- The view to refresh.
- Throws
RemoteException
- on remote error.
getCatalogItem
protected CatalogItem getCatalogItem(View view,
int itemIndex)
throws NoSuchElementException
- Deprecated
- Returns a CatalogItem within the current view. All classes that
extend this class must implement this function.
- Specified by:
getCatalogItem
in class CatalogItemIterator
- Parameters
view
- The current view.itemIndex
- The index of the item to retrieve.
- Throws
NoSuchElementException
- If the item does not exist.
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.