Esri Geoportal Server
1.0

com.esri.gpt.control.livedata
Class LiveDataController

java.lang.Object
  extended by com.esri.gpt.framework.jsf.BaseActionListener
      extended by com.esri.gpt.control.livedata.LiveDataController
All Implemented Interfaces:
ILiveDataProperties, EventListener, ActionListener, FacesListener

public class LiveDataController
extends BaseActionListener
implements ILiveDataProperties

Live data controller.


Constructor Summary
LiveDataController()
           
 
Method Summary
static LiveDataController getCurrentInstance()
          Gets current instance of the controller.
 String getEmbededSnippet()
          Gets definition of the embeded snippet.
 String getEmbededUrl()
          Gets URL for the embeded snippet.
 String getEmbededUrl(String serviceUrl)
          Gets URL for the embeded snippet.
 String getFrameStyle()
          Gets widget frame style.
 String getFrameStyleWide()
          Gets widget frame style.
 String getInfoUrl()
          Gets URL of the info.
 int getMapHeightAdjustment()
          Gets map height adjustment.
 String getServiceUrl()
          Gets service URL.
 void setFrameStyle(String frameStyle)
          Sets widget frame style.
 void setFrameStyleWide(String frameStyle)
          Sets widget frame style.
 void setMapHeightAdjustment(int mapHeightAdjustment)
          Sets map height adjustment.
 
Methods inherited from class com.esri.gpt.framework.jsf.BaseActionListener
assertLoggedIn, authorizeAction, extractMessageBroker, extractRequestContext, getContextBroker, getKey, getLogger, getNavigationOutcome, getPrepareView, getSecurityRoles, getSecurityRoleSet, handleException, onExecutionPhaseCompleted, onExecutionPhaseStarted, onPrepareView, onPrepareViewCompleted, onPrepareViewStarted, processAction, processSubAction, setKey, setNavigationOutcome, setPrepareView, setSecurityRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveDataController

public LiveDataController()
Method Detail

getCurrentInstance

public static LiveDataController getCurrentInstance()
Gets current instance of the controller.

Returns:
current instance of the controller

getServiceUrl

public String getServiceUrl()
Gets service URL.

Returns:
URL of the service

getInfoUrl

public String getInfoUrl()
Gets URL of the info.

Returns:
URL of the info

getEmbededUrl

public String getEmbededUrl()
Gets URL for the embeded snippet.

Returns:
URL for the embeded snippet

getEmbededUrl

public String getEmbededUrl(String serviceUrl)
Gets URL for the embeded snippet.

Parameters:
serviceUrl - service URL
Returns:
URL for the embeded snippet

getEmbededSnippet

public String getEmbededSnippet()
Gets definition of the embeded snippet.

Returns:
definition of the embeded snippet

setFrameStyle

public void setFrameStyle(String frameStyle)
Sets widget frame style.

Parameters:
frameStyle - widget frame style

getFrameStyle

public String getFrameStyle()
Gets widget frame style.

Specified by:
getFrameStyle in interface ILiveDataProperties
Returns:
widget frame style

setFrameStyleWide

public void setFrameStyleWide(String frameStyle)
Sets widget frame style.

Parameters:
frameStyle - widget frame style

getFrameStyleWide

public String getFrameStyleWide()
Gets widget frame style.

Returns:
widget frame style

getMapHeightAdjustment

public int getMapHeightAdjustment()
Gets map height adjustment.

Specified by:
getMapHeightAdjustment in interface ILiveDataProperties
Returns:
map height adjustment

setMapHeightAdjustment

public void setMapHeightAdjustment(int mapHeightAdjustment)
Sets map height adjustment.

Parameters:
mapHeightAdjustment - map height adjustment

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.