com.mizar.faces.javax.session
Class MappingConstants

java.lang.Object
  extended by com.mizar.faces.javax.session.MappingConstants

public class MappingConstants
extends java.lang.Object


Constructor Summary
MappingConstants()
           
 
Method Summary
 java.util.List<java.lang.Integer> getAvailableUTMZones()
           
static MappingConstants getCurrentInstance()
           
 java.lang.Boolean getEnableDynamicUTMSwitching()
           
 java.lang.Boolean getEnableMapWrapAround()
           
 java.lang.String getGgPrefix()
           
 java.lang.Integer getGgSrid()
           
 oracle.spatial.geometry.JGeometry getGlobalScreenCoordinates()
           
 oracle.spatial.geometry.JGeometry getGlobalScreenCoordinates(java.lang.Integer toSrid)
           
 double[] getGlobalScreenCoordinatesMBR()
           
 double[] getGlobalScreenCoordinatesMBR(java.lang.Integer toSrid)
           
 java.lang.Double getGlobalUnitsPerPixel()
           
 java.lang.String getLogoHeight()
           
 java.lang.String getLogoURL()
           
 java.lang.String getLogoWidth()
           
 java.lang.Double getMapCenterX()
           
 java.lang.Double getMapCenterY()
           
 java.lang.String getMapCopyright()
           
 java.lang.Integer getMapHeight()
           
 java.lang.String getMapViewerDataSource()
           
 java.lang.String getMapViewerServlet()
           
 java.lang.String getMapViewerUrl()
           
 java.lang.Integer getMapWidth()
           
 java.lang.Integer getMinUtmLevel()
           
 java.lang.String getOrthographicTileLayer()
           
 java.lang.String getOverviewTileLayer()
           
 java.util.List<QuickPickBean> getQuickPickBeans()
           
 double getSearchTolerance()
           
 SessionConstants getSessionConstants()
           
 java.lang.Boolean getShowMicroscope()
           
 java.lang.Boolean getShowScaleBar()
           
 java.lang.Boolean getShowToolBar()
           
 java.lang.Integer getSrid()
           
 java.lang.String getStreetmapTileLayer()
           
 java.lang.Boolean getThemeGroupOnOff()
           
 java.lang.Boolean getThemeHideOnClose()
           
 java.lang.String getTopographicTileLayer()
           
 java.lang.Integer getUtmBaseSrid()
           
 java.lang.String getWarnHeight()
           
 java.lang.String getWarnURL()
           
 java.lang.String getWarnWidth()
           
 boolean isSearchToleranceSet()
           
 void setAvailableUTMZones(java.util.List<java.lang.Integer> availbleUTMZones)
           
 void setEnableDynamicUTMSwitching(java.lang.Boolean enableDynamicUTMSwitching)
          DynamicUTMSwitching is an experimental extention to mizarMaps.js The code is currently found in mizarMapsUTM.js The purpose is to provide large scale UTM display in a global context.
 void setEnableMapWrapAround(java.lang.Boolean enableMapWrapAround)
           
 void setGgPrefix(java.lang.String ggPrefix)
           
 void setGgSrid(java.lang.Integer ggSrid)
          Defaults to 8307
 void setGlobalScreenCoordinates(oracle.spatial.geometry.JGeometry globalScreenCoordinates)
           
 void setLogoHeight(java.lang.String logoHeight)
           
 void setLogoURL(java.lang.String logoURL)
           
 void setLogoWidth(java.lang.String logoWidth)
           
 void setMapCenterX(java.lang.Double mapCenterX)
           
 void setMapCenterY(java.lang.Double mapCenterY)
           
 void setMapCopyright(java.lang.String mapCopyright)
           
 void setMapHeight(java.lang.Integer mapHeight)
           
 void setMapViewerDataSource(java.lang.String mapViewerDataSource)
           
 void setMapViewerServlet(java.lang.String mapViewerServlet)
           
 void setMapViewerUrl(java.lang.String mapViewerUrl)
           
 void setMapWidth(java.lang.Integer mapWidth)
           
 void setMinUtmLevel(java.lang.Integer minUtmLevel)
          The default is 10
 void setOrthographicTileLayer(java.lang.String orthographicTileLayer)
           
 void setOverviewTileLayer(java.lang.String overviewTileLayer)
           
 void setQuickPickBeans(java.util.List<QuickPickBean> quickPickBeans)
           
 void setSearchTolerance(double searchTolerance)
          Used to stroke circles to polygons
 void setShowMicroscope(java.lang.Boolean toolbarMicroscope)
           
 void setShowScaleBar(java.lang.Boolean showScaleBar)
           
 void setShowToolBar(java.lang.Boolean toolbar)
           
 void setSrid(java.lang.Integer srid)
           
 void setStreetmapTileLayer(java.lang.String streetmapTileLayer)
           
 void setThemeGroupOnOff(java.lang.Boolean enableThemeGroupOnOff)
           
 void setThemeHideOnClose(java.lang.Boolean enableThemeHide)
          The method will only set themeHideOnClose to true if themeGroupOnOff is false
 void setTopographicTileLayer(java.lang.String topographicTileLayer)
           
 void setUtmBaseSrid(java.lang.Integer utmBaseSrid)
          Defaults to 32600
 void setWarnHeight(java.lang.String warnHeight)
           
 void setWarnURL(java.lang.String warnURL)
           
 void setWarnWidth(java.lang.String warnWidth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingConstants

public MappingConstants()
Method Detail

getCurrentInstance

public static MappingConstants getCurrentInstance()

setMapViewerServlet

public void setMapViewerServlet(java.lang.String mapViewerServlet)

getMapViewerServlet

public java.lang.String getMapViewerServlet()

setMapViewerUrl

public void setMapViewerUrl(java.lang.String mapViewerUrl)

getMapViewerUrl

public java.lang.String getMapViewerUrl()

setMapViewerDataSource

public void setMapViewerDataSource(java.lang.String mapViewerDataSource)

getMapViewerDataSource

public java.lang.String getMapViewerDataSource()

setMapCenterX

public void setMapCenterX(java.lang.Double mapCenterX)

getMapCenterX

public java.lang.Double getMapCenterX()

setMapCenterY

public void setMapCenterY(java.lang.Double mapCenterY)

getMapCenterY

public java.lang.Double getMapCenterY()

setSrid

public void setSrid(java.lang.Integer srid)

getSrid

public java.lang.Integer getSrid()

setSearchTolerance

public void setSearchTolerance(double searchTolerance)
Used to stroke circles to polygons

Parameters:
searchTolerance -

getSearchTolerance

public double getSearchTolerance()

isSearchToleranceSet

public boolean isSearchToleranceSet()

setStreetmapTileLayer

public void setStreetmapTileLayer(java.lang.String streetmapTileLayer)

getStreetmapTileLayer

public java.lang.String getStreetmapTileLayer()

setOrthographicTileLayer

public void setOrthographicTileLayer(java.lang.String orthographicTileLayer)

getOrthographicTileLayer

public java.lang.String getOrthographicTileLayer()

setTopographicTileLayer

public void setTopographicTileLayer(java.lang.String topographicTileLayer)

getTopographicTileLayer

public java.lang.String getTopographicTileLayer()

setWarnURL

public void setWarnURL(java.lang.String warnURL)

getWarnURL

public java.lang.String getWarnURL()

setWarnWidth

public void setWarnWidth(java.lang.String warnWidth)

getWarnWidth

public java.lang.String getWarnWidth()

setWarnHeight

public void setWarnHeight(java.lang.String warnHeight)

getWarnHeight

public java.lang.String getWarnHeight()

setLogoURL

public void setLogoURL(java.lang.String logoURL)

getLogoURL

public java.lang.String getLogoURL()

setLogoWidth

public void setLogoWidth(java.lang.String logoWidth)

getLogoWidth

public java.lang.String getLogoWidth()

setLogoHeight

public void setLogoHeight(java.lang.String logoHeight)

getLogoHeight

public java.lang.String getLogoHeight()

setMapCopyright

public void setMapCopyright(java.lang.String mapCopyright)

getMapCopyright

public java.lang.String getMapCopyright()

setShowToolBar

public void setShowToolBar(java.lang.Boolean toolbar)

getShowToolBar

public java.lang.Boolean getShowToolBar()

setShowMicroscope

public void setShowMicroscope(java.lang.Boolean toolbarMicroscope)

getShowMicroscope

public java.lang.Boolean getShowMicroscope()

setShowScaleBar

public void setShowScaleBar(java.lang.Boolean showScaleBar)

getShowScaleBar

public java.lang.Boolean getShowScaleBar()

setOverviewTileLayer

public void setOverviewTileLayer(java.lang.String overviewTileLayer)

getOverviewTileLayer

public java.lang.String getOverviewTileLayer()

setEnableMapWrapAround

public void setEnableMapWrapAround(java.lang.Boolean enableMapWrapAround)

getEnableMapWrapAround

public java.lang.Boolean getEnableMapWrapAround()

setEnableDynamicUTMSwitching

public void setEnableDynamicUTMSwitching(java.lang.Boolean enableDynamicUTMSwitching)
DynamicUTMSwitching is an experimental extention to mizarMaps.js The code is currently found in mizarMapsUTM.js The purpose is to provide large scale UTM display in a global context. The map will switch from geographic rendering to the appropriate UTM zone dynamically when minUtmLevel is crossed. The default is false

Parameters:
enableDynamicUTMSwitching -
See Also:
setMinUtmLevel(java.lang.Integer)

getEnableDynamicUTMSwitching

public java.lang.Boolean getEnableDynamicUTMSwitching()
Returns:

setUtmBaseSrid

public void setUtmBaseSrid(java.lang.Integer utmBaseSrid)
Defaults to 32600

Parameters:
utmBaseSrid -
See Also:
setEnableDynamicUTMSwitching(java.lang.Boolean)

getUtmBaseSrid

public java.lang.Integer getUtmBaseSrid()

setGgSrid

public void setGgSrid(java.lang.Integer ggSrid)
Defaults to 8307

Parameters:
ggSrid -
See Also:
setEnableDynamicUTMSwitching(java.lang.Boolean)

getGgSrid

public java.lang.Integer getGgSrid()

setMinUtmLevel

public void setMinUtmLevel(java.lang.Integer minUtmLevel)
The default is 10

Parameters:
minUtmLevel -
See Also:
setEnableDynamicUTMSwitching(java.lang.Boolean)

getMinUtmLevel

public java.lang.Integer getMinUtmLevel()

setGgPrefix

public void setGgPrefix(java.lang.String ggPrefix)

getGgPrefix

public java.lang.String getGgPrefix()

setAvailableUTMZones

public void setAvailableUTMZones(java.util.List<java.lang.Integer> availbleUTMZones)

getAvailableUTMZones

public java.util.List<java.lang.Integer> getAvailableUTMZones()

setGlobalScreenCoordinates

public void setGlobalScreenCoordinates(oracle.spatial.geometry.JGeometry globalScreenCoordinates)

getGlobalScreenCoordinates

public oracle.spatial.geometry.JGeometry getGlobalScreenCoordinates()

getGlobalScreenCoordinates

public oracle.spatial.geometry.JGeometry getGlobalScreenCoordinates(java.lang.Integer toSrid)
                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

getGlobalScreenCoordinatesMBR

public double[] getGlobalScreenCoordinatesMBR()

getGlobalScreenCoordinatesMBR

public double[] getGlobalScreenCoordinatesMBR(java.lang.Integer toSrid)
                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getSessionConstants

public SessionConstants getSessionConstants()

setThemeHideOnClose

public void setThemeHideOnClose(java.lang.Boolean enableThemeHide)
The method will only set themeHideOnClose to true if themeGroupOnOff is false

Parameters:
enableThemeHide -

getThemeHideOnClose

public java.lang.Boolean getThemeHideOnClose()
Returns:

setThemeGroupOnOff

public void setThemeGroupOnOff(java.lang.Boolean enableThemeGroupOnOff)
Parameters:
enableThemeGroupOnOff - if true this will force themeHideOnClose to false

getThemeGroupOnOff

public java.lang.Boolean getThemeGroupOnOff()
Returns:

setMapWidth

public void setMapWidth(java.lang.Integer mapWidth)

getMapWidth

public java.lang.Integer getMapWidth()

setMapHeight

public void setMapHeight(java.lang.Integer mapHeight)

getMapHeight

public java.lang.Integer getMapHeight()

setQuickPickBeans

public void setQuickPickBeans(java.util.List<QuickPickBean> quickPickBeans)

getQuickPickBeans

public java.util.List<QuickPickBean> getQuickPickBeans()

getGlobalUnitsPerPixel

public java.lang.Double getGlobalUnitsPerPixel()