com.centrasite.control.registry.items.providers
Class ListItemsProvider

java.lang.Object
  extended by com.centrasite.control.registry.items.providers.ListItemsProvider
All Implemented Interfaces:
ItemsProvider

public class ListItemsProvider
extends java.lang.Object
implements ItemsProvider

Items provider for use with ListReport


Constructor Summary
ListItemsProvider(Connector connector, PackageItem item)
           
 
Method Summary
 Item getItem(java.lang.Object object)
          Provide an item to be rendered
 java.util.Collection getItems()
          Provide items to be rendered
 PackageItem getList()
           
 java.util.Collection prepareItems()
          Prepare items to get them in subsequent calls to getItem(Object object)
 boolean supportsDelayedRead()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListItemsProvider

public ListItemsProvider(Connector connector,
                         PackageItem item)
Method Detail

getItem

public Item getItem(java.lang.Object object)
             throws java.lang.Exception
Description copied from interface: ItemsProvider
Provide an item to be rendered

Specified by:
getItem in interface ItemsProvider
Throws:
java.lang.Exception

getItems

public java.util.Collection getItems()
                              throws java.lang.Exception
Description copied from interface: ItemsProvider
Provide items to be rendered

Specified by:
getItems in interface ItemsProvider
Throws:
java.lang.Exception

prepareItems

public java.util.Collection prepareItems()
                                  throws java.lang.Exception
Description copied from interface: ItemsProvider
Prepare items to get them in subsequent calls to getItem(Object object)

Specified by:
prepareItems in interface ItemsProvider
Throws:
java.lang.Exception

supportsDelayedRead

public boolean supportsDelayedRead()
Specified by:
supportsDelayedRead in interface ItemsProvider
Returns:
true, if methods prepareItems() and getItem(Object) are supported for lazy reading / cursoring

getList

public PackageItem getList()