| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.portal.PortalUtils
public class PortalUtils
| 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<String[]> | 
getVisibleLayers(ViewContext vc)
returns a comma separated list of visible layers  | 
static boolean | 
hasNodeVisibleLayers(ViewContext vc,
                                         int nodeID)
returns true if at least one layer within the node is visible  | 
static boolean | 
hasServerVisibleLayers(ViewContext vc,
                                             String serverTitle)
returns true if at least one layer of the passed server is visible  | 
static void | 
setVisibility(ViewContext vc,
                           int nodeID,
                           boolean hidden)
set visibility for a node and all child nodes/layers  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PortalUtils()
| Method Detail | 
|---|
public static List<String> getFeatureInfoLayers(ViewContext vc)
vc - 
public static List<String[]> getVisibleLayers(ViewContext vc)
vc - 
public static boolean hasServerVisibleLayers(ViewContext vc,
                                             String serverTitle)
vc - serverTitle - 
true if at least one layer of the passed server is visible
public static boolean hasNodeVisibleLayers(ViewContext vc,
                                           int nodeID)
vc - nodeID - 
true if at least one layer of the passed server is visible
public static void setVisibility(ViewContext vc,
                                 int nodeID,
                                 boolean hidden)
vc - nodeID - hidden - 
public static String[] createBaseRequests(ViewContext vc,
                                          String user,
                                          String password,
                                          String sessionID)
vc - user - password - sessionID - 
public static String[] createBaseRequests(ViewContext vc)
vc - 
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org