com.beasys.commerce.ebusiness.catalog
Interface View

All Known Implementing Classes:
CatalogItemView

Deprecated

@Deprecated
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()
          Deprecated Returns the index of the first item in the view.
 int getLastIndex()
          Deprecated Returns the index of the last item in the view.
 int getSize()
          Deprecated Returns the number of items in the view.
 int getViewIndex()
          Deprecated Returns the index of this View within its ViewIterator.
 

Method Detail

getSize

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

Returns
The number of items in the view.

getFirstIndex

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

Returns
The index of the first item in the view.

getLastIndex

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

Returns
The index of the last item in the view.

getViewIndex

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

Returns
The index of this View within its ViewIterator.


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.