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