© 2005 BEA Systems, Inc.

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

getFirstIndex

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

Returns:
The index of the first item in the view.

getLastIndex

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

Returns:
The index of the last item in the view.

getSize

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

Returns:
The number of items in the view.

getViewIndex

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

Returns:
The index of this View within its ViewIterator.

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved