|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| 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 java.lang.String[] |
createBaseRequests(ViewContext vc)
creates the GetMap basic requests required by the JSP page assigned to the MapViewPortlet. |
static java.lang.String[] |
createBaseRequests(ViewContext vc,
java.lang.String user,
java.lang.String password,
java.lang.String sessionID)
creates the GetMap basic requests required by the JSP page assigned to the MapViewPortlet. |
static java.util.List<java.lang.String> |
getFeatureInfoLayers(ViewContext vc)
returns a comma seperated list of layers marked as sensible for feature info requestes |
static java.util.List<java.lang.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,
java.lang.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 java.util.List<java.lang.String> getFeatureInfoLayers(ViewContext vc)
vc -
public static java.util.List<java.lang.String[]> getVisibleLayers(ViewContext vc)
vc -
public static boolean hasServerVisibleLayers(ViewContext vc,
java.lang.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 java.lang.String[] createBaseRequests(ViewContext vc,
java.lang.String user,
java.lang.String password,
java.lang.String sessionID)
vc - user - password - sessionID -
public static java.lang.String[] createBaseRequests(ViewContext vc)
vc -
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| 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