Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.globalSearch.ui.ecsf
Class ECSFSODelayedEvaluationCPTM

java.lang.Object
  extended by javax.faces.model.DataModel
      extended by org.apache.myfaces.trinidad.model.CollectionModel
          extended by org.apache.myfaces.trinidad.model.TreeModel
              extended by org.apache.myfaces.trinidad.model.ChildPropertyTreeModel
                  extended by oracle.apps.fnd.applcore.globalSearch.ui.ecsf.ECSFSODelayedEvaluationCPTM
All Implemented Interfaces:
org.apache.myfaces.trinidad.model.LocalRowKeyIndex, org.apache.myfaces.trinidad.model.RowKeyIndex, org.apache.myfaces.trinidad.model.TreeLocalRowKeyIndex

public class ECSFSODelayedEvaluationCPTM
extends org.apache.myfaces.trinidad.model.ChildPropertyTreeModel

A Tree Model based on ChildPropertyTreeModel that will intercept calls to the display of Searchable Object nodes, and evaluate and lazily populate their contents as needed.

Author:
David Groves <david.groves@oracle.com>

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.myfaces.trinidad.model.LocalRowKeyIndex
org.apache.myfaces.trinidad.model.LocalRowKeyIndex.Confidence, org.apache.myfaces.trinidad.model.LocalRowKeyIndex.LocalCachingStrategy
 
Constructor Summary
ECSFSODelayedEvaluationCPTM()
          Default Constructor.
ECSFSODelayedEvaluationCPTM(java.lang.Object instance, java.lang.String childProperty)
          Creates a ECSF SO Delayed Evaluation tree model
 
Method Summary
 boolean isContainer()
          Is this node a container.
 
Methods inherited from class org.apache.myfaces.trinidad.model.ChildPropertyTreeModel
createChildModel, enterContainer, exitContainer, getChildData, getChildProperty, getContainerRowKey, getRowCount, getRowData, getRowIndex, getRowKey, getSortCriteria, getWrappedData, isRowAvailable, isSortable, setChildProperty, setRowIndex, setRowKey, setSortCriteria, setWrappedData
 
Methods inherited from class org.apache.myfaces.trinidad.model.TreeModel
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, getAllAncestorContainerRowKeys, getContainerRowKey, getDepth, getDepth, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isContainerEmpty
 
Methods inherited from class org.apache.myfaces.trinidad.model.CollectionModel
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearLocalCache, getCachingStrategy, getEstimatedRowCount, getEstimatedRowCountConfidence, getRowData, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable
 
Methods inherited from class javax.faces.model.DataModel
addDataModelListener, getDataModelListeners, removeDataModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECSFSODelayedEvaluationCPTM

public ECSFSODelayedEvaluationCPTM(java.lang.Object instance,
                                   java.lang.String childProperty)
Creates a ECSF SO Delayed Evaluation tree model

Parameters:
instance - The Collection of root nodes of this tree.
childProperty - This property will be used to get at the child Lists from each bean.

ECSFSODelayedEvaluationCPTM

public ECSFSODelayedEvaluationCPTM()
Default Constructor.

Method Detail

isContainer

public boolean isContainer()
Is this node a container. So that we correctly show the +/- expand indicators, and yet not evaluate the entire tree up-front, we lazily check and build below the Searchable Object level as needed.

Overrides:
isContainer in class org.apache.myfaces.trinidad.model.ChildPropertyTreeModel
Returns:
true if is container, false otherwise.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.