deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.portal
Class PortalUtils

java.lang.Object
  extended by org.deegree.portal.PortalUtils

public class PortalUtils
extends Object

Since:
2.0
Version:
$Revision: 11842 $, 1.0. $Revision: 11842 $, $Date: 2008-05-20 15:37:46 +0200 (Di, 20 Mai 2008) $
Author:
Andreas Poth, last edited by: $Author: rbezema $

Constructor Summary
PortalUtils()
           
 
Method Summary
static String[] createBaseRequests(ViewContext vc)
          creates the GetMap basic requests required by the JSP page assigned to the MapViewPortlet.
static String[] createBaseRequests(ViewContext vc, String user, String password, String sessionID)
          creates the GetMap basic requests required by the JSP page assigned to the MapViewPortlet.
static List<String> getFeatureInfoLayers(ViewContext vc)
          returns a comma seperated list of layers marked as sensible for feature info requestes
static List getVisibleLayers(ViewContext vc)
          returns a comma seperated list of visible layers
static boolean hasServerVisibleLayers(ViewContext vc, String serverTitle)
          returns true if at least one layer of the passed server is visible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalUtils

public PortalUtils()
Method Detail

getFeatureInfoLayers

public static List<String> getFeatureInfoLayers(ViewContext vc)
returns a comma seperated list of layers marked as sensible for feature info requestes

Parameters:
vc -
Returns:
a comma seperated list of layers marked as sensible for feature info requestes

getVisibleLayers

public static List getVisibleLayers(ViewContext vc)
returns a comma seperated list of visible layers

Parameters:
vc -
Returns:
a comma seperated list of visible layers

hasServerVisibleLayers

public static boolean hasServerVisibleLayers(ViewContext vc,
                                             String serverTitle)
returns true if at least one layer of the passed server is visible

Parameters:
vc -
serverTitle -
Returns:
true if at least one layer of the passed server is visible

createBaseRequests

public static String[] createBaseRequests(ViewContext vc,
                                          String user,
                                          String password,
                                          String sessionID)
creates the GetMap basic requests required by the JSP page assigned to the MapViewPortlet.

Parameters:
vc -
user -
password -
sessionID -
Returns:
list of GetMap requests

createBaseRequests

public static String[] createBaseRequests(ViewContext vc)
creates the GetMap basic requests required by the JSP page assigned to the MapViewPortlet.

Parameters:
vc -
Returns:

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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