com.mizar.adfrichfaces
Class ADFTreeFileHandler

java.lang.Object
  extended by com.mizar.persistence.jpa.facade.JPAFacade
      extended by com.mizar.faces.jpa.facade.FacesCollection
          extended by com.mizar.trinidad.components.TrinidadCollection
              extended by com.mizar.adfrichfaces.ADFTreeFileHandler

public class ADFTreeFileHandler
extends TrinidadCollection


Nested Class Summary
 
Nested classes/interfaces inherited from class com.mizar.trinidad.components.TrinidadCollection
TrinidadCollection.UpdateListReasons
 
Field Summary
static java.lang.String ROOT_DIR
           
 
Fields inherited from class com.mizar.trinidad.components.TrinidadCollection
disclosedRowKeys, exceptionThrown, pkeyMask, selectedRowKeys
 
Fields inherited from class com.mizar.faces.jpa.facade.FacesCollection
currentRow, list, previousRow, selectionList
 
Fields inherited from class com.mizar.persistence.jpa.facade.JPAFacade
em, emf, model, persistenceUnitName, schemaName, sequencesValidated, silent, verbose
 
Constructor Summary
ADFTreeFileHandler(java.lang.String rootPath)
           
ADFTreeFileHandler(java.lang.String rootPath, boolean isLazy)
           
 
Method Summary
 void buildTreeModel(java.lang.String rp)
           
 org.apache.myfaces.trinidad.model.TreeModel getModel()
           
 java.lang.String getRootPath()
           
 org.apache.myfaces.trinidad.model.TreeModel getTreeModel()
           
 void popupFetch(oracle.adf.view.rich.event.PopupFetchEvent pfe)
           
 FileNode process(java.io.File dir)
           
 void setTreeModel(org.apache.myfaces.trinidad.model.TreeModel treeModel)
           
 void updateTreeModel(java.lang.String rootPath)
           
 
Methods inherited from class com.mizar.trinidad.components.TrinidadCollection
accept, addRow, addTrinidadCollectionListener, cancel, cancelEditing, clearList, dirtyDependentTables, downloadCSV, downloadPDF, downloadXLS, downloadXML, exportToDbaseFile, fireCurrentRowValueChanged, getDependentTables, getDisclosedRowKeys, getPersistenceUnitName, getPkeyMask, getPostUpdateListMethod, getRedrawComponentId, getSelectedRowKeys, getTableName, getUpdateListReason, isEditable, isExceptionThrown, isNewRowEditing, mergeBean, persistBean, persistBean, redrawCollection, removeBean, removeRow, removeRow, removeRow, resetGoToDashboard, resetGoToDashboard, setCurrentRow, setDisclosedRowKeys, setExceptionThrown, setList, setList, setList, setNewRowEditing, setPkeyMask, setPostUpdateListMethod, setPostUpdateListMethod, setRedrawComponentId, setSelectedRowKeys, setUpdateListReason, startEditing, startEditingNew
 
Methods inherited from class com.mizar.faces.jpa.facade.FacesCollection
closeEm, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, decrementPosition, decrementPosition, downloadFile, exportToExcel, find, getBean, getBeanClass, getBeanFromRow, getBeanList, getClassNameRoot, getCurrentMutableRow, getCurrentRow, getEm, getEmScope, getExportName, getGeom, getList, getListSize, getManagedBeanName, getMaxDownloadSize, getMaxResults, getReference, getResultList, getRowClass, getRowConstructor, getRowSQL, getSelectionList, getSingleResult, getTrackedQuery, getTruncatedList, getValue, incrementPosition, incrementPosition, isDefaultRowConstructor, isFileDownloadable, isListDirty, isSelectionListDirty, maxResultsOff, maxResultsOff, maxResultsOn, newRow, newRow, refresh, refreshBean, resetCurrentRow, selectRows, selectRows, selectRowsExpression, selectRowsExpression, selectRowsJPQL, selectRowsJPQL, selectRowsJPQL, selectRowsJPQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, setBeanClass, setCurrentRow, setCurrentRow, setCurrentRow, setDefaultRowConstructor, setEmScope, setExportName, setListDirty, setManagedBeanName, setMaxDownloadSize, setMaxResults, setRowClass, setRowConstructor, setSelectionList, setSelectionListDirty, setTrackedQuery
 
Methods inherited from class com.mizar.persistence.jpa.facade.JPAFacade
closeEm, closeEmf, executeDDL, executeNativeUpdate, executeNativeUpdate, executeUpdate, getClosableConnectionAccessor, getConnection, getConnection, getEm, getEmf, getEmf, getLogger, getPassword, getPassword, getSchemaName, getSequencesValidated, getSid, getSilent, getTableName, getToleratedErrorCodes, getUrl, getUser, getVerbose, mergeBean, persist, persistBean, printAnyBean, queryTester, queryTester, refreshBean, remove, removeBean, removeBean, setEmf, setPersistenceUnitName, setSilent, setToleratedErrorCodes, setVerbose, validateSequences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_DIR

public static final java.lang.String ROOT_DIR
See Also:
Constant Field Values
Constructor Detail

ADFTreeFileHandler

public ADFTreeFileHandler(java.lang.String rootPath)

ADFTreeFileHandler

public ADFTreeFileHandler(java.lang.String rootPath,
                          boolean isLazy)
Method Detail

updateTreeModel

public void updateTreeModel(java.lang.String rootPath)

buildTreeModel

public void buildTreeModel(java.lang.String rp)

process

public FileNode process(java.io.File dir)

getModel

public org.apache.myfaces.trinidad.model.TreeModel getModel()

popupFetch

public void popupFetch(oracle.adf.view.rich.event.PopupFetchEvent pfe)

getRootPath

public java.lang.String getRootPath()

setTreeModel

public void setTreeModel(org.apache.myfaces.trinidad.model.TreeModel treeModel)

getTreeModel

public org.apache.myfaces.trinidad.model.TreeModel getTreeModel()