com.beasys.commerce.ebusiness.catalog
Interface View

All Known Implementing Classes:
CatalogItemView

public interface View

A View is a window onto a large result set. It has a size (the number of items in the view), a beginning index (the index of the first item in the view), and an ending index (the index of the last item in the view). Additionally, a View has an index within the context of a ViewIterator.

See Also
ViewIterator

Method Summary
 int getFirstIndex()
          Returns the index of the first item in the view.
 int getLastIndex()
          Returns the index of the last item in the view.
 int getSize()
          Returns the number of items in the view.
 int getViewIndex()
          Returns the index of this View within its ViewIterator.
 

Method Detail

getSize

int getSize()
Returns the number of items in the view.

Returns
The number of items in the view.

getFirstIndex

int getFirstIndex()
Returns the index of the first item in the view.

Returns
The index of the first item in the view.

getLastIndex

int getLastIndex()
Returns the index of the last item in the view.

Returns
The index of the last item in the view.

getViewIndex

int getViewIndex()
Returns the index of this View within its ViewIterator.

Returns
The index of this View within its ViewIterator.


Copyright © 2006 BEA Systems, Inc. All Rights Reserved