deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.portal.portlet.modules.map.actions.portlets
Class FeatureInfoForwardPortletPerform

java.lang.Object
  extended by org.deegree.portal.portlet.modules.actions.AbstractPortletPerform
      extended by org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform
          extended by org.deegree.portal.portlet.modules.map.actions.portlets.FeatureInfoPortletPerform
              extended by org.deegree.portal.portlet.modules.map.actions.portlets.FeatureInfoForwardPortletPerform

public abstract class FeatureInfoForwardPortletPerform
extends FeatureInfoPortletPerform

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.portal.portlet.modules.map.actions.portlets.FeatureInfoPortletPerform
INIT_PATHTOXSLT, PARAM_FEATURECOUNT, PARAM_FILAYERS, PARAM_LAYERS, PARAM_X, PARAM_Y
 
Fields inherited from class org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform
PARAM_BBOX, PARAM_LAYER, PARAM_MAPMODE, PARAM_SESSIONID, PARAM_STYLE, sc, SESSION_HISTORY, SESSION_HISTORYPOSITION, vcMap
 
Fields inherited from class org.deegree.portal.portlet.modules.actions.AbstractPortletPerform
AVAILABLE_WMC, CURRENT_WMC, CURRENT_WMC_NAME, INIT_MAPPORTLETID, INIT_WMC, PARAM_MAPACTION, PARAM_MAPPORTLET, PARAM_MODE, parameter, portlet, request, SESSION_CURRENTFILAYER, SESSION_HOME, SESSION_VIEWCONTEXT
 
Constructor Summary
FeatureInfoForwardPortletPerform(javax.servlet.http.HttpServletRequest request, org.apache.jetspeed.portal.Portlet portlet, javax.servlet.ServletContext servletContext)
           
 
Method Summary
protected  void doGetFeatureInfo()
          performs a GetFeatureInfo/GetFeature/DescribeCoverage request depending on the layer typs the request targets.
protected abstract  List<?> performQuery(String[] ids)
          the IDs of the features targeted by a GetFeatureInfo request will be passed.
 
Methods inherited from class org.deegree.portal.portlet.modules.map.actions.portlets.FeatureInfoPortletPerform
findCurrentFILayers, init, perform, setCurrentFILayer
 
Methods inherited from class org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform
getCurrentMapContextName, getCurrentMapContextName, getCurrentViewContext, getCurrentViewContext, getNamedViewContext, getNamedViewContext, setBoundingBox, setBoundingBox, setBoundingBoxFromBBOXParam, setCurrentMapContext, setCurrentMapContext, setCurrentMapContextName, setCurrentMapContextName, setLayers, setMode, setNameContext, setNameContext, updateContext
 
Methods inherited from class org.deegree.portal.portlet.modules.actions.AbstractPortletPerform
buildNormalContext, getInitParam, getMapPortletID, readMapContextID_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureInfoForwardPortletPerform

public FeatureInfoForwardPortletPerform(javax.servlet.http.HttpServletRequest request,
                                        org.apache.jetspeed.portal.Portlet portlet,
                                        javax.servlet.ServletContext servletContext)
Parameters:
request -
portlet -
servletContext - containing servlet information
Method Detail

doGetFeatureInfo

protected void doGetFeatureInfo()
                         throws PortalException,
                                OGCWebServiceException
Description copied from class: FeatureInfoPortletPerform
performs a GetFeatureInfo/GetFeature/DescribeCoverage request depending on the layer typs the request targets. If defiend the result will be transformed by a XSLT script to get a human readable out put.

Overrides:
doGetFeatureInfo in class FeatureInfoPortletPerform
Throws:
PortalException
OGCWebServiceException

performQuery

protected abstract List<?> performQuery(String[] ids)
the IDs of the features targeted by a GetFeatureInfo request will be passed. A concrete implementation of this method may use them to perform a database query, a GetFeature request or something else.

Parameters:
ids -
Returns:
the response of the query

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org