com.mizar.trinidad.components.admin
Class UserSdoCachedMapsRow

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.metadata.db.bean.SdoCachedMapsSuperClass
          extended by com.mizar.metadata.db.bean.UserSdoCachedMapsBean
              extended by com.mizar.trinidad.components.admin.UserSdoCachedMapsRow
All Implemented Interfaces:
RowInterface, RowMutable, JPAInterface, java.io.Serializable, java.lang.Comparable

public class UserSdoCachedMapsRow
extends UserSdoCachedMapsBean
implements RowMutable

See Also:
Serialized Form

Field Summary
protected  UserSdoMapsRow baseMapRow
           
protected  java.awt.Color bgcolor
           
protected  int computedLevels
           
protected  boolean geodetic
           
protected  java.util.List<javax.faces.model.SelectItem> imageFormats
           
protected  int maxFractionPart
           
protected  int maxLevels
           
protected  oracle.spatial.geometry.JGeometry originalRange
           
protected  java.lang.Double resolution
           
protected  java.lang.String resolutionUnit
           
protected  javax.faces.model.SelectItem[] resolutionUnits
           
protected  java.util.List<javax.faces.model.SelectItem> sridItems
           
protected  java.lang.Boolean transparent
           
protected  java.lang.String unitsOfMeasure
           
protected  java.lang.Double zoomFactor
           
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
UserSdoCachedMapsRow()
           
 
Method Summary
 void changeBaseMapListener(javax.faces.event.ValueChangeEvent event)
          WHY this is necessary I'm not entirely sure but the setBaseMap method is not otherwise getting called.
 void changeListener(javax.faces.event.ValueChangeEvent event)
           
 void changeRangeListener(javax.faces.event.ValueChangeEvent event)
           
 void changeSRIDListener(javax.faces.event.ValueChangeEvent event)
           
 void changeTileSizeListener(javax.faces.event.ValueChangeEvent event)
           
 void changeZoomListener(javax.faces.event.ValueChangeEvent event)
           
 void deleteRow(javax.faces.event.ActionEvent ae)
           
 void deleteRow(oracle.adf.view.rich.event.DialogEvent ae)
           
 UserSdoMapsRow getBaseMap()
          Required because the UserSdoMapsBean cannot reach the associated UserSdoThemes because these are embedded in XML
 java.awt.Color getBgcolor()
           
 int getComputedLevels()
           
 boolean getGeodetic()
           
 java.lang.String getImageFormat()
           
 java.util.List<javax.faces.model.SelectItem> getImageFormats()
           
 int getMaxFractionPart()
           
 int getMaxLevels()
           
 java.lang.Double getMaxX()
           
 java.lang.Double getMaxY()
           
 java.lang.Double getMinX()
           
 java.lang.Double getMinY()
           
protected  oracle.spatial.geometry.JGeometry getOriginalRange()
           
 java.lang.Double getResolution()
           
 java.lang.String getResolutionUnit()
           
 javax.faces.model.SelectItem[] getResolutionUnits()
           
 int getSrid()
           
 java.util.List<javax.faces.model.SelectItem> getSridItems()
           
 java.lang.String getSridName()
           
 java.lang.Integer getTileImageHeight()
           
 java.lang.Integer getTileImageWidth()
           
 java.lang.Boolean getTransparent()
           
 java.lang.String getUnitsOfMeasure()
           
 java.lang.Double getZoomFactor()
           
 boolean isUserReadOnly()
           
 void loadTemplate()
           
 void loadTemplate(javax.faces.event.ActionListener event)
           
protected  int recomputeTemplate()
           
 void setBaseMap(UserSdoMapsRow baseMap)
           
 void setBgcolor(java.awt.Color bgcolor)
           
 void setComputedLevels(int levels)
           
 void setImageFormat(java.lang.String imageFormat)
           
 void setMaxFractionPart(int maxFactionPart)
           
 void setMaxLevels(int maxLevels)
           
 void setMaxX(java.lang.Double maxX)
           
 void setMaxY(java.lang.Double maxY)
           
 void setMinX(java.lang.Double minX)
           
 void setMinY(java.lang.Double minY)
           
protected  void setOriginalRange(double[] bounds, int srid)
           
 void setResolution(java.lang.Double resolution)
           
 void setResolutionUnit(java.lang.String resolutionUnit)
           
 void setResolutionUnits(javax.faces.model.SelectItem[] resolutionUnits)
           
 void setSrid(int newSrid)
           
 void setTileImageHeight(java.lang.Integer tileImageHeight)
           
 void setTileImageWidth(java.lang.Integer tileImageWidth)
           
 void setTransparent(java.lang.Boolean transparent)
           
 void setZoomFactor(java.lang.Double zoomStepRatio)
           
 void updateRow(javax.faces.event.ActionEvent ae)
           
 
Methods inherited from class com.mizar.metadata.db.bean.UserSdoCachedMapsBean
getName, setBaseMap, setName
 
Methods inherited from class com.mizar.metadata.db.bean.SdoCachedMapsSuperClass
getCacheInstance, getDefinition, getDefinitionString, getDescription, getInternal, getIsInternal, getIsOnline, getMapAdapter, getOnline, getParsedDescription, getPrimaryKeyValue, getTilesTable, isInternal, isOnline, setCacheInstance, setDefinition, setDefinition, setDescription, setInternal, setIsInternal, setIsOnline, setMapAdapter, setOnline, setTilesTable
 
Methods inherited from class com.mizar.persistence.jpa.beans.GenericBean
compareTo, equals, getDELETE, getEDIT, getEntityState, getEntityStateLabel, getLogger, getNEW, getREAD, hashCode, isEditable, isNew, setEditable, setEntityState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mizar.faces.javax.components.RowMutable
isEditable, setEntityState
 
Methods inherited from interface com.mizar.faces.javax.components.RowInterface
getEntityState, getEntityStateLabel, getPrimaryKeyValue
 

Field Detail

bgcolor

protected java.awt.Color bgcolor

zoomFactor

protected java.lang.Double zoomFactor

transparent

protected java.lang.Boolean transparent

imageFormats

protected java.util.List<javax.faces.model.SelectItem> imageFormats

sridItems

protected java.util.List<javax.faces.model.SelectItem> sridItems

baseMapRow

protected UserSdoMapsRow baseMapRow

unitsOfMeasure

protected java.lang.String unitsOfMeasure

geodetic

protected boolean geodetic

resolution

protected java.lang.Double resolution

resolutionUnit

protected java.lang.String resolutionUnit

resolutionUnits

protected javax.faces.model.SelectItem[] resolutionUnits

originalRange

protected oracle.spatial.geometry.JGeometry originalRange

maxFractionPart

protected int maxFractionPart

maxLevels

protected int maxLevels

computedLevels

protected int computedLevels
Constructor Detail

UserSdoCachedMapsRow

public UserSdoCachedMapsRow()
Method Detail

changeListener

public void changeListener(javax.faces.event.ValueChangeEvent event)

changeBaseMapListener

public void changeBaseMapListener(javax.faces.event.ValueChangeEvent event)
WHY this is necessary I'm not entirely sure but the setBaseMap method is not otherwise getting called.

Parameters:
event -

changeSRIDListener

public void changeSRIDListener(javax.faces.event.ValueChangeEvent event)

changeRangeListener

public void changeRangeListener(javax.faces.event.ValueChangeEvent event)

changeTileSizeListener

public void changeTileSizeListener(javax.faces.event.ValueChangeEvent event)

changeZoomListener

public void changeZoomListener(javax.faces.event.ValueChangeEvent event)

loadTemplate

public void loadTemplate()

loadTemplate

public void loadTemplate(javax.faces.event.ActionListener event)

setZoomFactor

public void setZoomFactor(java.lang.Double zoomStepRatio)

getZoomFactor

public java.lang.Double getZoomFactor()

setTransparent

public void setTransparent(java.lang.Boolean transparent)

getTransparent

public java.lang.Boolean getTransparent()

setBgcolor

public void setBgcolor(java.awt.Color bgcolor)

getBgcolor

public java.awt.Color getBgcolor()

setImageFormat

public void setImageFormat(java.lang.String imageFormat)

getImageFormat

public java.lang.String getImageFormat()

getImageFormats

public java.util.List<javax.faces.model.SelectItem> getImageFormats()

getOriginalRange

protected oracle.spatial.geometry.JGeometry getOriginalRange()

setOriginalRange

protected void setOriginalRange(double[] bounds,
                                int srid)

setBaseMap

public void setBaseMap(UserSdoMapsRow baseMap)

getBaseMap

public UserSdoMapsRow getBaseMap()
Required because the UserSdoMapsBean cannot reach the associated UserSdoThemes because these are embedded in XML

Overrides:
getBaseMap in class UserSdoCachedMapsBean
Returns:

getUnitsOfMeasure

public java.lang.String getUnitsOfMeasure()

getSridName

public java.lang.String getSridName()

getSridItems

public java.util.List<javax.faces.model.SelectItem> getSridItems()

setSrid

public void setSrid(int newSrid)

getSrid

public int getSrid()

getGeodetic

public boolean getGeodetic()

setResolution

public void setResolution(java.lang.Double resolution)

setMaxLevels

public void setMaxLevels(int maxLevels)

getMaxLevels

public int getMaxLevels()

setMaxFractionPart

public void setMaxFractionPart(int maxFactionPart)

getMaxFractionPart

public int getMaxFractionPart()

setResolutionUnit

public void setResolutionUnit(java.lang.String resolutionUnit)

getResolutionUnit

public java.lang.String getResolutionUnit()

setResolutionUnits

public void setResolutionUnits(javax.faces.model.SelectItem[] resolutionUnits)

getResolutionUnits

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

getResolution

public java.lang.Double getResolution()

recomputeTemplate

protected int recomputeTemplate()

setComputedLevels

public void setComputedLevels(int levels)

getComputedLevels

public int getComputedLevels()

setMinX

public void setMinX(java.lang.Double minX)

getMinX

public java.lang.Double getMinX()

setMaxX

public void setMaxX(java.lang.Double maxX)

getMaxX

public java.lang.Double getMaxX()

setMinY

public void setMinY(java.lang.Double minY)

getMinY

public java.lang.Double getMinY()

setMaxY

public void setMaxY(java.lang.Double maxY)

getMaxY

public java.lang.Double getMaxY()

setTileImageWidth

public void setTileImageWidth(java.lang.Integer tileImageWidth)

getTileImageWidth

public java.lang.Integer getTileImageWidth()

setTileImageHeight

public void setTileImageHeight(java.lang.Integer tileImageHeight)

getTileImageHeight

public java.lang.Integer getTileImageHeight()

updateRow

public void updateRow(javax.faces.event.ActionEvent ae)
Specified by:
updateRow in interface RowMutable

deleteRow

public void deleteRow(javax.faces.event.ActionEvent ae)
Specified by:
deleteRow in interface RowMutable

deleteRow

public void deleteRow(oracle.adf.view.rich.event.DialogEvent ae)

isUserReadOnly

public boolean isUserReadOnly()
Specified by:
isUserReadOnly in interface RowMutable