Class WMSService
- java.lang.Object
-
- nl.tailormap.viewer.config.services.GeoService
-
- nl.tailormap.viewer.config.services.WMSService
-
- All Implemented Interfaces:
Serializable
@Entity public class WMSService extends GeoService
Entity for saving WMS service metadata. Enables the administration module to easily work with WMS service entities and the viewer to quickly marshall the metadata without having to do a GetCapabilities request each time the viewer starts.This requires an option to update the metadata should the service change, so this class implements Updatable.
- Author:
- Matthijs Laan
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDETAIL_SUPPORT_SLDstatic StringDETAIL_USER_STYLEstatic StringPARAM_OVERRIDE_URLParameter to specify the value for #getOverrideUrl().static StringPARAM_SKIP_DISCOVER_WFSParameter to specify the value forskipDiscoverWFS.static StringPROTOCOLJPA DiscriminatorValue for this class.-
Fields inherited from class nl.tailormap.viewer.config.services.GeoService
DETAIL_ORIGINAL_NAME, DETAIL_OVERRIDDEN_URL, DETAIL_USE_INTERSECT, DETAIL_USE_PROXY, PARAM_MUST_LOGIN, PARAM_ONLINE_CHECK_ONLY, PARAM_PASSWORD, PARAM_USERNAME
-
-
Constructor Summary
Constructors Constructor Description WMSService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WMSExceptionTypegetException_type()BooleangetOverrideUrl()Whether to use the original URL the Capabilities was loaded with or the URL the WMS reports it is at in the Capabilities.BooleangetSkipDiscoverWFS()voidsetException_type(WMSExceptionType exception_type)voidsetOverrideUrl(Boolean overrideUrl)voidsetSkipDiscoverWFS(Boolean skipDiscoverWFS)StringtoString()-
Methods inherited from class nl.tailormap.viewer.config.services.GeoService
authorizationsModified, getAuthorizationsModified, getCapabilitiesDoc, getCategory, getDetails, getGeofenceHeader, getId, getKeywords, getLayer, getLayerChildrenCache, getName, getPassword, getProtocol, getReaders, getSingleLayer, getStyleLibraries, getTopLayer, getUrl, getUsername, getVersion, isMonitoringEnabled, isMonitoringStatusok, loadLayerTree, setAuthorizationsModified, setCapabilitiesDoc, setCategory, setDetails, setGeofenceHeader, setId, setKeywords, setMonitoringEnabled, setMonitoringStatusok, setName, setPassword, setReaders, setStyleLibraries, setTopLayer, setUrl, setUsername, setVersion
-
-
-
-
Field Detail
-
PROTOCOL
public static final String PROTOCOL
JPA DiscriminatorValue for this class.- See Also:
- Constant Field Values
-
PARAM_OVERRIDE_URL
public static final String PARAM_OVERRIDE_URL
Parameter to specify the value for #getOverrideUrl().- See Also:
- Constant Field Values
-
PARAM_SKIP_DISCOVER_WFS
public static final String PARAM_SKIP_DISCOVER_WFS
Parameter to specify the value forskipDiscoverWFS.- See Also:
skipDiscoverWFS, Constant Field Values
-
DETAIL_SUPPORT_SLD
public static final String DETAIL_SUPPORT_SLD
- See Also:
- Constant Field Values
-
DETAIL_USER_STYLE
public static final String DETAIL_USER_STYLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOverrideUrl
public Boolean getOverrideUrl()
Whether to use the original URL the Capabilities was loaded with or the URL the WMS reports it is at in the Capabilities. Sometimes the URL reported by the WMS is outdated, but it can also be used to migrate the service to another URL or load Capabilities from a static XML Capabilities document on a simple HTTP server. According to the standard the URL in the Capabilities should be used, so set this to false by default except if the user requests an override.- Returns:
- true when set
-
setOverrideUrl
public void setOverrideUrl(Boolean overrideUrl)
-
getException_type
public WMSExceptionType getException_type()
-
setException_type
public void setException_type(WMSExceptionType exception_type)
-
getSkipDiscoverWFS
public Boolean getSkipDiscoverWFS()
-
setSkipDiscoverWFS
public void setSkipDiscoverWFS(Boolean skipDiscoverWFS)
-
-