com.sun.j2ee.blueprints.shoppingcart.catalog.model
Class ListChunk

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.shoppingcart.catalog.model.ListChunk

public class ListChunk
extends java.lang.Object
implements java.io.Serializable

This class represents a list of items/products/categories that is returned to the web tier in response to the getItems/getProducts/getCategories/ searchProducts request

See Also:
Serialized Form

Constructor Summary
ListChunk(int count, java.util.Collection coll, int first, int curCount)
           
 
Method Summary
 java.util.Collection getCollection()
           
 int getCurrentCount()
           
 int getFirstElementIndex()
           
 int getTotalCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListChunk

public ListChunk(int count,
                 java.util.Collection coll,
                 int first,
                 int curCount)
Method Detail

getTotalCount

public int getTotalCount()

getCollection

public java.util.Collection getCollection()

getCurrentCount

public int getCurrentCount()

getFirstElementIndex

public int getFirstElementIndex()


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.