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 ScreenConstructor and Description |
---|
LazyTaxonomyBrowseTreeListener(TreeCollection treeCollection,
ClassificationScheme cs,
com.centrasite.control.Connector conn,
java.util.Collection objectTypesForSearch,
com.centrasite.control.ReportInterface report,
TreetableAdapter owner) |
Modifier and Type | Method and Description |
---|---|
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<Concept> |
sortList1(java.util.Collection<Concept> col,
java.util.Locale loc) |
public LazyTaxonomyBrowseTreeListener(TreeCollection treeCollection, ClassificationScheme cs, com.centrasite.control.Connector conn, java.util.Collection objectTypesForSearch, com.centrasite.control.ReportInterface report, TreetableAdapter owner)
public void setSearchFiedlText(java.lang.String value)
public void initialize()
ReportCollectionListener
initialize
in interface ReportCollectionListener
public void prepareAllItems(ReportCollection objects)
ReportCollectionListener
ReportCollection
.prepareAllItems
in interface ReportCollectionListener
public void prepareItems(ReportCollection collection, int topIndex, int rowCount)
ReportCollectionListener
prepareItems
in interface ReportCollectionListener
topIndex
- Index to start from.rowCount
- Number of items to be prepared.public void prepareAllItems(com.softwareag.cis.server.util.TREECollection objects)
prepareAllItems
in interface com.softwareag.cis.server.util.ISSSTREECollectionListener
public void prepareItems(com.softwareag.cis.server.util.TREECollection objects, int topIndex, int rowCount)
prepareItems
in interface com.softwareag.cis.server.util.ISSSTREECollectionListener
public void removedLine(int index)
ReportCollectionListener
removedLine
in interface ReportCollectionListener
public void prepareItems(java.lang.Object[] onScreenNodes)
public static java.util.Collection<Concept> sortList1(java.util.Collection<Concept> col, java.util.Locale loc) throws java.lang.Exception
java.lang.Exception