com.centrasite.control.adapters.collection.tree
Class LazyTaxonomyBrowseTreeListener

java.lang.Object
  extended by com.centrasite.control.adapters.collection.tree.LazyTaxonomyBrowseTreeListener
All Implemented Interfaces:
ReportCollectionListener, com.softwareag.cis.server.util.ISSSTREECollectionListener

public class LazyTaxonomyBrowseTreeListener
extends java.lang.Object
implements ReportCollectionListener, com.softwareag.cis.server.util.ISSSTREECollectionListener

ISSSTREECollectionListener implementation using the default lazy way of loading data from DefaultReportCollectionListener. Used for a special handling of Browse By Taxonomy Screen


Constructor Summary
LazyTaxonomyBrowseTreeListener(TreeCollection treeCollection, javax.xml.registry.infomodel.ClassificationScheme cs, com.centrasite.control.Connector conn, java.util.Collection objectTypesForSearch, com.centrasite.control.ReportInterface report, TreetableAdapter owner)
           
 
Method Summary
 void initialize()
          Initialize the instance.
 void prepareAllItems(ReportCollection objects)
          Prepares all items of the given ReportCollection.
 void prepareAllItems(com.softwareag.cis.server.util.TREECollection objects)
           
 void prepareItems(java.lang.Object[] onScreenNodes)
           
 void prepareItems(ReportCollection collection, int topIndex, int rowCount)
          Prepares rowCounf number of items of the given collection starting from the given index.
 void prepareItems(com.softwareag.cis.server.util.TREECollection objects, int topIndex, int rowCount)
           
 void removedLine(int index)
          Notifies this listener that line with the given index has been removed from the collection.
 void setSearchFiedlText(java.lang.String value)
           
static java.util.Collection<javax.xml.registry.infomodel.Concept> sortList1(java.util.Collection<javax.xml.registry.infomodel.Concept> col, java.util.Locale loc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyTaxonomyBrowseTreeListener

public LazyTaxonomyBrowseTreeListener(TreeCollection treeCollection,
                                      javax.xml.registry.infomodel.ClassificationScheme cs,
                                      com.centrasite.control.Connector conn,
                                      java.util.Collection objectTypesForSearch,
                                      com.centrasite.control.ReportInterface report,
                                      TreetableAdapter owner)
Method Detail

setSearchFiedlText

public void setSearchFiedlText(java.lang.String value)

initialize

public void initialize()
Description copied from interface: ReportCollectionListener
Initialize the instance.

Specified by:
initialize in interface ReportCollectionListener

prepareAllItems

public void prepareAllItems(ReportCollection objects)
Description copied from interface: ReportCollectionListener
Prepares all items of the given ReportCollection.

Specified by:
prepareAllItems in interface ReportCollectionListener

prepareItems

public void prepareItems(ReportCollection collection,
                         int topIndex,
                         int rowCount)
Description copied from interface: ReportCollectionListener
Prepares rowCounf number of items of the given collection starting from the given index.

Specified by:
prepareItems in interface ReportCollectionListener
topIndex - Index to start from.
rowCount - Number of items to be prepared.

prepareAllItems

public void prepareAllItems(com.softwareag.cis.server.util.TREECollection objects)
Specified by:
prepareAllItems in interface com.softwareag.cis.server.util.ISSSTREECollectionListener

prepareItems

public void prepareItems(com.softwareag.cis.server.util.TREECollection objects,
                         int topIndex,
                         int rowCount)
Specified by:
prepareItems in interface com.softwareag.cis.server.util.ISSSTREECollectionListener

removedLine

public void removedLine(int index)
Description copied from interface: ReportCollectionListener
Notifies this listener that line with the given index has been removed from the collection.

Specified by:
removedLine in interface ReportCollectionListener

prepareItems

public void prepareItems(java.lang.Object[] onScreenNodes)

sortList1

public static java.util.Collection<javax.xml.registry.infomodel.Concept> sortList1(java.util.Collection<javax.xml.registry.infomodel.Concept> col,
                                                                                   java.util.Locale loc)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception