com.mizar.trinidad.components.routing
Class RoutingTable

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.routing.RoutingTable

public class RoutingTable
extends TrinidadSpatialTable


Nested Class Summary
 
Nested classes/interfaces inherited from class com.mizar.trinidad.components.TrinidadCollection
TrinidadCollection.UpdateListReasons
 
Field Summary
static long ROUTE_TYPE_ORDERED
           
static long ROUTE_TYPE_SALESMAN
           
 
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
RoutingTable()
           
 
Method Summary
 void clearList(javax.faces.event.ActionEvent ignore)
          This is an ActionListener method that calls AbstractCollection.clearList() and redrawTable()
 void clearRoute(javax.faces.event.ActionEvent ignore)
           
 void displayRoute(javax.faces.event.ActionEvent ignore)
           
 java.lang.String getDataSource()
           
 java.lang.String getDistanceUnits()
           
 java.lang.Long getOrderPreference()
           
 javax.faces.model.SelectItem[] getOrderPreferences()
           
 java.lang.String getPassword()
          This property will not exist if the persistence unit is connected to a managed connection
 java.lang.Boolean getReturnDetailedGeometry()
           
 java.lang.Boolean getReturnDrivingDirections()
           
 java.lang.Boolean getReturnEdgeIds()
           
 java.lang.Boolean getReturnNodeIds()
           
 java.lang.Boolean getReturnSegmentGeometry()
           
 java.lang.String getRoadPreference()
           
 javax.faces.model.SelectItem[] getRoadPreferences()
           
 java.lang.String getRoutePreference()
           
 javax.faces.model.SelectItem[] getRoutePreferences()
           
 java.lang.String getRouteWKT()
           
 java.util.ArrayList<RoutingResponse> getRoutingResponse()
           
 java.lang.String getTimeUnit()
           
 void setDataSource(java.lang.String dataSource)
           
 void setDistanceUnits(java.lang.String distanceUnits)
           
 void setOrderPreference(java.lang.Long routeType)
           
 void setPassword(java.lang.String password)
           
 void setReturnDetailedGeometry(java.lang.Boolean returnDetailedGeometry)
           
 void setReturnDrivingDirections(java.lang.Boolean returnDrivingDirections)
           
 void setReturnEdgeIds(java.lang.Boolean returnEdgeIds)
           
 void setReturnNodeIds(java.lang.Boolean returnNodeIds)
           
 void setReturnSegmentGeometry(java.lang.Boolean returnSegmentGeometry)
           
 void setRoadPreference(java.lang.String roadPreference)
           
 void setRoutePreference(java.lang.String routePreference)
           
 void setRoutingResponse(java.util.ArrayList<RoutingResponse> routingResponse)
           
 void setTimeUnit(java.lang.String timeUnit)
           
 
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, 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
 

Field Detail

ROUTE_TYPE_ORDERED

public static final long ROUTE_TYPE_ORDERED
See Also:
Constant Field Values

ROUTE_TYPE_SALESMAN

public static final long ROUTE_TYPE_SALESMAN
See Also:
Constant Field Values
Constructor Detail

RoutingTable

public RoutingTable()
Method Detail

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

displayRoute

public void displayRoute(javax.faces.event.ActionEvent ignore)

clearRoute

public void clearRoute(javax.faces.event.ActionEvent ignore)

setReturnDrivingDirections

public void setReturnDrivingDirections(java.lang.Boolean returnDrivingDirections)

getReturnDrivingDirections

public java.lang.Boolean getReturnDrivingDirections()

setReturnSegmentGeometry

public void setReturnSegmentGeometry(java.lang.Boolean returnSegmentGeometry)

getReturnSegmentGeometry

public java.lang.Boolean getReturnSegmentGeometry()

setReturnDetailedGeometry

public void setReturnDetailedGeometry(java.lang.Boolean returnDetailedGeometry)

getReturnDetailedGeometry

public java.lang.Boolean getReturnDetailedGeometry()

setReturnEdgeIds

public void setReturnEdgeIds(java.lang.Boolean returnEdgeIds)

getReturnEdgeIds

public java.lang.Boolean getReturnEdgeIds()

setReturnNodeIds

public void setReturnNodeIds(java.lang.Boolean returnNodeIds)

getReturnNodeIds

public java.lang.Boolean getReturnNodeIds()

setDistanceUnits

public void setDistanceUnits(java.lang.String distanceUnits)

getDistanceUnits

public java.lang.String getDistanceUnits()

setTimeUnit

public void setTimeUnit(java.lang.String timeUnit)

getTimeUnit

public java.lang.String getTimeUnit()

setRoutePreference

public void setRoutePreference(java.lang.String routePreference)

getRoutePreference

public java.lang.String getRoutePreference()

setRoadPreference

public void setRoadPreference(java.lang.String roadPreference)

getRoadPreference

public java.lang.String getRoadPreference()

setRoutingResponse

public void setRoutingResponse(java.util.ArrayList<RoutingResponse> routingResponse)

getRoutingResponse

public java.util.ArrayList<RoutingResponse> getRoutingResponse()

getRoutePreferences

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

getRoadPreferences

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

setOrderPreference

public void setOrderPreference(java.lang.Long routeType)

getOrderPreference

public java.lang.Long getOrderPreference()

getOrderPreferences

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

setDataSource

public void setDataSource(java.lang.String dataSource)

getDataSource

public java.lang.String getDataSource()

getRouteWKT

public java.lang.String getRouteWKT()

setPassword

public void setPassword(java.lang.String password)

getPassword

public java.lang.String getPassword()
Description copied from class: JPAFacade
This property will not exist if the persistence unit is connected to a managed connection

Overrides:
getPassword in class JPAFacade
Returns:
javax.persistence.jdbc.password