|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.ebusiness.catalog.CatalogItemView
@Deprecated public class CatalogItemView
A CatalogItemView
is a window onto a large CatalogItem
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 CatalogItemView
has an index
within the context of a ViewIterator
.
View
,
ViewIterator
,
Serialized FormConstructor Summary | |
---|---|
CatalogItemView()
Deprecated Default constructor |
|
CatalogItemView(int size,
int firstIndex,
int lastIndex,
int viewIndex)
Deprecated Creates a new CatalogItemView with the given size,
first index, last index, and view index. |
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 . |
String |
toString()
Deprecated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CatalogItemView()
public CatalogItemView(int size, int firstIndex, int lastIndex, int viewIndex)
CatalogItemView
with the given size,
first index, last index, and view index.
size
- The size of the view.firstIndex
- The first index.lastIndex
- The last index.viewIndex
- The index of this View
within its ViewIterator
.Method Detail |
---|
public int getSize()
getSize
in interface View
public int getFirstIndex()
getFirstIndex
in interface View
public int getLastIndex()
getLastIndex
in interface View
public int getViewIndex()
View
within its ViewIterator
.
getViewIndex
in interface View
View
within its ViewIterator
.public String toString()
toString
in class Object
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |