Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`.

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2005 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005 BEA Systems, Inc. All Rights Reserved