Esri Geoportal Server
1.0

com.esri.gpt.control.download
Class DownloadController

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

public class DownloadController
extends BaseActionListener

Download controller.


Constructor Summary
DownloadController()
           
 
Method Summary
 ArrayList<SelectItem> getAllFeatures()
          Gets all features.
 ArrayList<SelectItem> getAllOutputFormats()
          Gets all output formats.
 ArrayList<SelectItem> getAllProjections()
          Gets all projections.
 ArrayList<SelectItem> getAllRasters()
          Gets all rasters.
 String getDownloadView()
          Prepares page to display list of harvest repositories.
 String getExtractDataTaskUrl()
          Gets geoprocessing task URL.
 String getLayers()
          Gets pre-layers.
 String getMapServiceUrl()
          Gets map service URL.
 String getSelectedFeature()
          Gets selected feature.
 String getSelectedOutputFormat()
          Gets selected output format.
 String getSelectedProjection()
          Gets selected projection.
 String getSelectedRaster()
          Gets selected raster.
 String getUserEmail()
          Gets user email.
 void setExtractDataTaskUrl(String url)
          Sets geoprocessing task URL.
 void setLayers(String layers)
          Sets pre-selected layers.
 void setMapServiceUrl(String mapServiceUrl)
          Sets map service URL.
 void setSelectedFeature(String item)
          Sets selected feature.
 void setSelectedOutputFormat(String item)
          Sets selected output format.
 void setSelectedProjection(String item)
          Sets selected projection.
 void setSelectedRaster(String item)
          Sets selected raster.
 void setUserEmail(String userEmail)
          Sets user email.
 
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

DownloadController

public DownloadController()
Method Detail

getDownloadView

public String getDownloadView()
Prepares page to display list of harvest repositories.

Returns:
empty string

getUserEmail

public String getUserEmail()
Gets user email.

Returns:
user email

setUserEmail

public void setUserEmail(String userEmail)
Sets user email.

Parameters:
userEmail - user email

getAllOutputFormats

public ArrayList<SelectItem> getAllOutputFormats()
Gets all output formats.

Returns:
array of select items representing output formats

getSelectedOutputFormat

public String getSelectedOutputFormat()
Gets selected output format.

Returns:
select item representing output format

setSelectedOutputFormat

public void setSelectedOutputFormat(String item)
Sets selected output format.

Parameters:
item - select item representing output format

getAllProjections

public ArrayList<SelectItem> getAllProjections()
Gets all projections.

Returns:
array of select items representing projections

getSelectedProjection

public String getSelectedProjection()
Gets selected projection.

Returns:
select item representing projection

setSelectedProjection

public void setSelectedProjection(String item)
Sets selected projection.

Parameters:
item - select item representing projection

getAllFeatures

public ArrayList<SelectItem> getAllFeatures()
Gets all features.

Returns:
features

getSelectedFeature

public String getSelectedFeature()
Gets selected feature.

Returns:
selected feature

setSelectedFeature

public void setSelectedFeature(String item)
Sets selected feature.

Parameters:
item - selected feature

getAllRasters

public ArrayList<SelectItem> getAllRasters()
Gets all rasters.

Returns:
all rasters

getSelectedRaster

public String getSelectedRaster()
Gets selected raster.

Returns:
selected raster

setSelectedRaster

public void setSelectedRaster(String item)
Sets selected raster.

Parameters:
item - selected raster

getMapServiceUrl

public String getMapServiceUrl()
Gets map service URL.

Returns:
map service URL

setMapServiceUrl

public void setMapServiceUrl(String mapServiceUrl)
Sets map service URL.

Parameters:
mapServiceUrl - map service URL

getExtractDataTaskUrl

public String getExtractDataTaskUrl()
Gets geoprocessing task URL.

Returns:
geoprocessing task URL

setExtractDataTaskUrl

public void setExtractDataTaskUrl(String url)
Sets geoprocessing task URL.

Parameters:
url - geoprocessing task URL

getLayers

public String getLayers()
Gets pre-layers.

Returns:
layers indexes separated by coma (,)

setLayers

public void setLayers(String layers)
Sets pre-selected layers.

Parameters:
layers - layers indexes separated by coma (,)

Esri Geoportal Server
1.0

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