Package org.tailormap.api.persistence
Class GeoService
java.lang.Object
org.tailormap.api.persistence.GeoService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignId()
findFeatureTypeForLayer
(GeoServiceLayer layer, FeatureSourceRepository featureSourceRepository) byte[]
getId()
getLayerSettings
(String layerName) getNotes()
getTitle()
getTitleWithSettingsOverrides
(String layerName) getUrl()
boolean
boolean
setAdvertisedUrl
(String advertisedUrl) setAuthentication
(ServiceAuthentication authentication) setAuthorizationRules
(List<AuthorizationRule> authorizationRules) setCapabilities
(byte[] capabilities) setCapabilitiesContentType
(String capabilitiesContentType) setCapabilitiesFetched
(Instant capabilitiesFetched) setLayers
(List<GeoServiceLayer> layers) setProtocol
(GeoServiceProtocol protocol) setPublished
(boolean published) void
setRefreshCapabilities
(boolean refreshCapabilities) setServiceCapabilities
(TMServiceCaps serviceCapabilities) setSettings
(GeoServiceSettings settings) Sets the url after sanitising (removing unwanted parameters).setVersion
(Long version) toJsonPojo
(GeoServiceHelper geoServiceHelper)
-
Constructor Details
-
GeoService
public GeoService()
-
-
Method Details
-
getId
-
setId
-
getVersion
-
setVersion
-
getNotes
-
setNotes
-
getProtocol
-
setProtocol
-
getUrl
-
setUrl
Sets the url after sanitising (removing unwanted parameters). -
isRefreshCapabilities
public boolean isRefreshCapabilities() -
setRefreshCapabilities
public void setRefreshCapabilities(boolean refreshCapabilities) -
getAuthentication
-
setAuthentication
-
getCapabilities
public byte[] getCapabilities() -
setCapabilities
-
getCapabilitiesContentType
-
setCapabilitiesContentType
-
getCapabilitiesFetched
-
setCapabilitiesFetched
-
getTitle
-
setTitle
-
getAdvertisedUrl
-
setAdvertisedUrl
-
getServiceCapabilities
-
setServiceCapabilities
-
getAuthorizationRules
-
setAuthorizationRules
-
getLayers
-
setLayers
-
isPublished
public boolean isPublished() -
setPublished
-
getSettings
-
setSettings
-
assignId
public void assignId() -
toJsonPojo
-
findLayer
-
getLayerSettings
-
getTitleWithSettingsOverrides
-
findFeatureTypeForLayer
public TMFeatureType findFeatureTypeForLayer(GeoServiceLayer layer, FeatureSourceRepository featureSourceRepository)
-