com.mizar.adfrichfaces
Class FeatureSearchCollection

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<RowInterface>
              extended by com.mizar.trinidad.components.TrinidadTable
                  extended by com.mizar.trinidad.components.TrinidadSpatialTable
                      extended by com.mizar.adfrichfaces.FeatureSearchCollection

public class FeatureSearchCollection
extends TrinidadSpatialTable


Nested Class Summary
 
Nested classes/interfaces inherited from class com.mizar.trinidad.components.TrinidadCollection
TrinidadCollection.UpdateListReasons
 
Field Summary
 
Fields inherited from class com.mizar.trinidad.components.TrinidadSpatialTable
_Logger, dimensions, geocodeResult, hiliteItems, maxHiliteItems, srid, wktShape
 
Fields inherited from class com.mizar.trinidad.components.TrinidadTable
detach, displayedRows, endRow, filterVisible, freeze, lastQueryDescription, model, panelCollectionFeaturesOff, selectionModel, startRow, whereClause, wrap
 
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, persistenceUnitName, schemaName, sequencesValidated, silent, verbose
 
Constructor Summary
FeatureSearchCollection()
           
 
Method Summary
 void decendThemes(java.util.List themes, FeatureOfInterestRow row)
           
 void exportToExcel(javax.faces.event.ActionEvent ae)
          NOTE: must be called with partialSubmit="false" or will fail badly The method converts the list to a spreadsheet and writes it to output stream
 void featureSearch(javax.faces.event.ActionEvent ae)
           
 void featureSearch(org.apache.myfaces.trinidad.event.LaunchEvent ae)
           
 java.util.Map<java.lang.String,java.lang.Class> getDescriptors()
           
 java.util.Set<java.lang.String> getFeatureNames()
           
 java.util.Set<java.lang.String> getLayerNames()
           
 oracle.spatial.geometry.JGeometry getSearchArea()
           
 void setFeatureNames(java.util.Set<java.lang.String> featureNames)
           
 void setLayerNames(java.util.Set<java.lang.String> layerNames)
           
 void setSearchArea(oracle.spatial.geometry.JGeometry searchArea)
           
 
Methods inherited from class com.mizar.trinidad.components.TrinidadSpatialTable
addRow, addRowUniquely, addRowUniquely, convertJGeometry, exportToShapeFile, findIn, findNearest, findNearest, getGeocodeResult, getGeocodeResultWKT, getHiliteItems, getHiliteItems, getMaxHiliteItems, getMaxSpatialQueryArea, getSearchTolerance, getSrid, getSridPrecision, getWktShape, getWktShape, getWktShapes, removeRow, removeRow, selectRowsExpression, selectRowsExpression, selectRowsJPQL, selectRowsJPQL, selectRowsSQL, selectRowsSQL, setGeocodeResult, setHiliteItems, setList, setMaxHiliteItems, setMaxSpatialQueryArea, setSearchTolerance, setSrid, setSridPrecision, spatialFilterInside, spatialFilterInside, spatialFilterInside, zoomMap
 
Methods inherited from class com.mizar.trinidad.components.TrinidadTable
attributeChangeListener, buildEl, clearLastQueryDescription, clearList, decrementPosition, finalize, getDisplayedRows, getEndRow, getLastQueryDescription, getModel, getPanelCollectionFeaturesOff, getSelectedRow, getSelectionModel, getStartRow, getTable, getWhereClause, incrementPosition, isDetach, isEnableAllDetails, isFilterVisible, isFreeze, isInitialized, isPanelCollectionWanted, isShowOneOnly, isWrap, rangeChangeListener, redrawTable, redrawTable, refreshBean, refreshList, selectionListener, setCurrentRow, setDetach, setDisplayedRows, setEnableAllDetails, setEndRow, setFilterVisible, setFreeze, setLastQueryDescription, setLastQueryDescription, setList, setPanelCollectionFeaturesOff, setPanelCollectionFeaturesOff, setPanelCollectionWanted, setSelectedRow, setSelectedRow, setShowOneOnly, setStartRow, setTable, setWhereClause, setWrap, sortListener, toggleCollectionTools, toggleFilterVisibility
 
Methods inherited from class com.mizar.trinidad.components.TrinidadCollection
accept, 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, resetGoToDashboard, resetGoToDashboard, setDisclosedRowKeys, setExceptionThrown, 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, downloadFile, 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, isDefaultRowConstructor, isFileDownloadable, isListDirty, isSelectionListDirty, maxResultsOff, maxResultsOff, maxResultsOn, newRow, newRow, refresh, resetCurrentRow, selectRows, selectRows, selectRowsExpression, selectRowsJPQL, selectRowsJPQL, 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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureSearchCollection

public FeatureSearchCollection()
Method Detail

exportToExcel

public void exportToExcel(javax.faces.event.ActionEvent ae)
Description copied from class: FacesCollection
NOTE: must be called with partialSubmit="false" or will fail badly The method converts the list to a spreadsheet and writes it to output stream

Overrides:
exportToExcel in class FacesCollection
See Also:
FacesUtils.getExcelFromList(java.util.List), ServletUtils#sendOutputStream(ByteArrayOutputStream,String)

decendThemes

public void decendThemes(java.util.List themes,
                         FeatureOfInterestRow row)

getDescriptors

public java.util.Map<java.lang.String,java.lang.Class> getDescriptors()

featureSearch

public void featureSearch(javax.faces.event.ActionEvent ae)

featureSearch

public void featureSearch(org.apache.myfaces.trinidad.event.LaunchEvent ae)

setFeatureNames

public void setFeatureNames(java.util.Set<java.lang.String> featureNames)

getFeatureNames

public java.util.Set<java.lang.String> getFeatureNames()

setSearchArea

public void setSearchArea(oracle.spatial.geometry.JGeometry searchArea)

getSearchArea

public oracle.spatial.geometry.JGeometry getSearchArea()
Overrides:
getSearchArea in class TrinidadSpatialTable

setLayerNames

public void setLayerNames(java.util.Set<java.lang.String> layerNames)

getLayerNames

public java.util.Set<java.lang.String> getLayerNames()