OrphanedItemIterator Class
- public class OrphanedItemIterator
extends CatalogItemIterator
A OrphanedItemIterator
is a ViewIterator
over OrphanedItem
s.
Orphaned Items are Product Items that are not (or no longer) assigned to a Category.
Related Topics
View
ViewIterator
CatalogItemIterator
-
Hierarchy
-
Object
CatalogItemIterator
OrphanedItemIterator
-
All Implemented Interfaces
-
Serializable
, ViewIterator
-
OrphanedItemIterator(
String manangerJndiName, CatalogRequest catalogRequest, int numItems, int viewSize)
OrphanedItemIterator constructor that takes the total number
of spanned items, a view size and request object.
|
protected CatalogItem |
-
getCatalogItem (View view, int itemIndex)
- Returns a CatalogItem within the current view.
|
protected void |
-
refreshView (View view)
- This function is called whenever the current view needs to be refreshed.
|
Methods from com.beasys.commerce.ebusiness.catalog.CatalogItemIterator |
getCatalogManager , getCatalogQueryManager , getCatalogRequest , getCategoryManager , getCurrentView , getCustomDataManager , getProductItemManager , getViewAt , getViewCount , gotoNextView , gotoPreviousView , gotoViewAt , hasNext , hasNextView , hasPreviousView , next , size
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface com.beasys.commerce.ebusiness.catalog.ViewIterator |
getCurrentView , getViewAt , getViewCount , gotoNextView , gotoPreviousView , gotoViewAt , hasNext , hasNextView , hasPreviousView , next , size
|
OrphanedItemIterator
public OrphanedItemIterator(String
manangerJndiName,
CatalogRequest
catalogRequest,
int numItems,
int viewSize)
OrphanedItemIterator
constructor that takes the total number
of spanned items, a view size and request object.
getCatalogItem(View, int) Method
protected CatalogItem
getCatalogItem(View
view,
int itemIndex)
throws NoSuchElementException
Returns a CatalogItem within the current view. All classes that
extend this class must implement this function.
-
Overrides
-
CatalogItemIterator.getCatalogItem(View, int)
Parameters
-
view
- The current view.
-
itemIndex
- The index of the item to retrieve.
Exceptions
-
NoSuchElementException
- If the item does not exist.
refreshView(View) Method
protected void refreshView(View
view)
throws RemoteException
This function is called whenever the current view needs to be refreshed.
All classes that extend this class must implement this function.
-
Overrides
-
CatalogItemIterator.refreshView(View)
Parameters
-
view
- The view to refresh.
Exceptions
-
RemoteException
- on remote error.