com.mizar.trinidad.components.basemap
Class BasemapTable

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.basemap.BasemapTable
All Implemented Interfaces:
java.util.EventListener, javax.faces.event.FacesListener, oracle.adf.view.rich.event.CarouselSpinListener

public class BasemapTable
extends TrinidadSpatialTable
implements oracle.adf.view.rich.event.CarouselSpinListener


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
BasemapTable()
           
 
Method Summary
 void addNewHillshade(javax.faces.event.ActionEvent ae)
           
 java.util.List<java.lang.String> createHillshade(java.lang.String georUri, double[] mbr, java.lang.String outDir, java.lang.String[] outFiles, java.lang.Double zFactor, java.lang.Double scale, java.lang.Double azimuth, java.lang.Double altitude, java.lang.String[] formats, boolean world)
           
 void deleteHillshade(javax.faces.event.ActionEvent ae)
           
 void download(javax.faces.event.ActionEvent ae)
           
 java.lang.String getContent(java.lang.String contextName)
           
 HillShade getCurrentHillShade()
           
 int getCurrentHillShadeIndex()
           
 int getFiletype()
           
 java.lang.String[] getFiletypes()
           
 java.util.List<HillShade> getHillShades()
           
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getMapContext()
           
 java.lang.String getPassword()
          This property will not exist if the persistence unit is connected to a managed connection
 java.lang.String getSeparator()
           
 java.lang.String getSessionDir()
           
 java.lang.String getSid()
          The method strips the last : separated token from the URL
 java.lang.String getSplitter()
           
 java.lang.String getUpdateFileName()
           
 java.lang.String getUpdateLink()
           
 java.lang.String getUsername()
           
 void hillshade(javax.faces.event.ActionEvent ae)
           
 void processCarouselSpin(oracle.adf.view.rich.event.CarouselSpinEvent cse)
           
 void reLoad(org.apache.myfaces.trinidad.event.DisclosureEvent dle)
           
 void setContent(java.lang.String contextName, java.lang.String content)
           
 void setCurrentHillShade(HillShade currentHillShade)
           
 void setCurrentHillShadeIndex(int currentHillShadeIndex)
           
 void setFiletype(int filetype)
           
 void setFiletypes(java.lang.String[] filetypes)
           
 void setHillShades(java.util.List<HillShade> hillShades)
           
 void setMapContext(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> mapContext)
           
 void setPassword(java.lang.String password)
           
 void setSeparator(java.lang.String separator)
           
 void setSessionDir(java.lang.String sessionDir)
           
 void setSid(java.lang.String sid)
           
 void setSplitter(java.lang.String splitter)
           
 void setUpdateFileName(java.lang.String updateFileName)
           
 void setUpdateLink(java.lang.String updateLink)
           
 void setUsername(java.lang.String username)
           
 
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, 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, 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, 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

BasemapTable

public BasemapTable()
Method Detail

reLoad

public void reLoad(org.apache.myfaces.trinidad.event.DisclosureEvent dle)

setMapContext

public void setMapContext(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> mapContext)

getMapContext

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

getContent

public java.lang.String getContent(java.lang.String contextName)

setContent

public void setContent(java.lang.String contextName,
                       java.lang.String content)

setSeparator

public void setSeparator(java.lang.String separator)

getSeparator

public java.lang.String getSeparator()

setSplitter

public void setSplitter(java.lang.String splitter)
Parameters:
splitter - this is regex safe version of separator, for example if separator is "|" then splitter should be "\\|"

getSplitter

public java.lang.String getSplitter()

hillshade

public void hillshade(javax.faces.event.ActionEvent ae)
               throws java.lang.Exception
Throws:
java.lang.Exception

createHillshade

public java.util.List<java.lang.String> createHillshade(java.lang.String georUri,
                                                        double[] mbr,
                                                        java.lang.String outDir,
                                                        java.lang.String[] outFiles,
                                                        java.lang.Double zFactor,
                                                        java.lang.Double scale,
                                                        java.lang.Double azimuth,
                                                        java.lang.Double altitude,
                                                        java.lang.String[] formats,
                                                        boolean world)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

setUpdateLink

public void setUpdateLink(java.lang.String updateLink)

getUpdateLink

public java.lang.String getUpdateLink()

setUpdateFileName

public void setUpdateFileName(java.lang.String updateFileName)

getUpdateFileName

public java.lang.String getUpdateFileName()

setUsername

public void setUsername(java.lang.String username)

getUsername

public java.lang.String getUsername()

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

setSid

public void setSid(java.lang.String sid)

getSid

public java.lang.String getSid()
Description copied from class: JPAFacade
The method strips the last : separated token from the URL

Overrides:
getSid in class JPAFacade
Returns:
the assumed database SID
See Also:
JPAFacade.getUrl()

setHillShades

public void setHillShades(java.util.List<HillShade> hillShades)

getHillShades

public java.util.List<HillShade> getHillShades()

setCurrentHillShade

public void setCurrentHillShade(HillShade currentHillShade)

getCurrentHillShade

public HillShade getCurrentHillShade()

setFiletype

public void setFiletype(int filetype)

getFiletype

public int getFiletype()

setCurrentHillShadeIndex

public void setCurrentHillShadeIndex(int currentHillShadeIndex)

getCurrentHillShadeIndex

public int getCurrentHillShadeIndex()

setFiletypes

public void setFiletypes(java.lang.String[] filetypes)

getFiletypes

public java.lang.String[] getFiletypes()

processCarouselSpin

public void processCarouselSpin(oracle.adf.view.rich.event.CarouselSpinEvent cse)
Specified by:
processCarouselSpin in interface oracle.adf.view.rich.event.CarouselSpinListener

addNewHillshade

public void addNewHillshade(javax.faces.event.ActionEvent ae)
                     throws java.lang.Exception
Throws:
java.lang.Exception

deleteHillshade

public void deleteHillshade(javax.faces.event.ActionEvent ae)
                     throws java.lang.Exception
Throws:
java.lang.Exception

download

public void download(javax.faces.event.ActionEvent ae)
              throws java.lang.Exception
Throws:
java.lang.Exception

setSessionDir

public void setSessionDir(java.lang.String sessionDir)

getSessionDir

public java.lang.String getSessionDir()