com.mizar.trinidad.components.location
Class LocationTable

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.trinidad.components.location.LocationTable

public class LocationTable
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
LocationTable()
           
 
Method Summary
 void clearList(javax.faces.event.ActionEvent ignore)
          This is an ActionListener method that calls AbstractCollection.clearList() and redrawTable()
 void findNearest(oracle.spatial.geometry.JGeometry geom, int nearestCount)
           
 javax.faces.model.SelectItem[] getCommonFacilities()
           
 java.lang.Long getFacilityType()
           
 java.util.HashMap<java.lang.Long,java.util.HashMap<java.lang.String,java.lang.String>> getLocationItems()
           
 java.lang.String getNearestMBR()
           
 void setCommonFacilities(javax.faces.model.SelectItem[] commonFacilities)
           
 void setFacilityType(java.lang.Long facilityType)
           
 void setLocationItems(java.util.HashMap<java.lang.Long,java.util.HashMap<java.lang.String,java.lang.String>> locationItems)
           
 
Methods inherited from class com.mizar.trinidad.components.TrinidadSpatialTable
addRow, addRowUniquely, addRowUniquely, convertJGeometry, exportToShapeFile, findIn, findNearest, findNearest, getGeocodeResult, getGeocodeResultWKT, getHiliteItems, getHiliteItems, getMaxHiliteItems, getMaxSpatialQueryArea, getSearchArea, 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, 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, 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, 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

LocationTable

public LocationTable()
Method Detail

findNearest

public void findNearest(oracle.spatial.geometry.JGeometry geom,
                        int nearestCount)

getNearestMBR

public java.lang.String getNearestMBR()

clearList

public void clearList(javax.faces.event.ActionEvent ignore)
Description copied from class: TrinidadTable
This is an ActionListener method that calls AbstractCollection.clearList() and redrawTable()

Overrides:
clearList in class TrinidadTable

setFacilityType

public void setFacilityType(java.lang.Long facilityType)

getFacilityType

public java.lang.Long getFacilityType()

setCommonFacilities

public void setCommonFacilities(javax.faces.model.SelectItem[] commonFacilities)

getCommonFacilities

public javax.faces.model.SelectItem[] getCommonFacilities()

setLocationItems

public void setLocationItems(java.util.HashMap<java.lang.Long,java.util.HashMap<java.lang.String,java.lang.String>> locationItems)

getLocationItems

public java.util.HashMap<java.lang.Long,java.util.HashMap<java.lang.String,java.lang.String>> getLocationItems()