public class GeoserverManagement extends GosManagement
authenticationStr, HEADER_AUTHENTICATION_PARAM_NAME| Constructor and Description |
|---|
GeoserverManagement(String authenticationStr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDataStore(String gosEndpoint,
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.DataStore datastore) |
boolean |
addGeoserverLayer(String gosEndpoint,
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer geoserverLayer,
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.FeatureType ft,
Map<String,String> slds) |
boolean |
addGeoserverLayer(String gosEndpoint,
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer geoserverLayer,
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.FeatureType ft,
Map<String,String> slds,
Integer minScale,
Integer maxScale) |
boolean |
addGeoserverLayer(String gosEndpoint,
gr.cite.geoanalytics.dataaccess.entities.sysconfig.xml.layer.LayerConfig layerConfig,
Map<String,String> slds,
String crs,
String style) |
boolean |
addLayerStyle(String gosEndpoint,
String layerName,
String styleName,
String sld) |
boolean |
addLayerStyle(String gosEndpoint,
String layerName,
String styleName,
String sld,
Integer minScale,
Integer maxScale) |
boolean |
addStyle(String gosEndpoint,
String styleName,
String sld) |
boolean |
addStyle(String gosEndpoint,
String styleName,
String sld,
Integer minScale,
Integer maxScale) |
boolean |
addStyleIcons(String gosEndpoint,
String styleName,
List<org.springframework.web.multipart.MultipartFile> icons) |
boolean |
addWorkspace(String gosEndpoint,
String name,
String uri) |
boolean |
dataStoreExists(String gosEndpoint,
String workspaceName,
String dataStoreName) |
boolean |
deleteGeoserverLayer(String gosEndpoint,
String layerId,
gr.cite.geoanalytics.dataaccess.entities.layer.DataSource dataSource) |
List<String> |
getAllStyles(String gosEndpoint) |
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.DataStore |
getDataStore(String gosEndpoint,
String dataStoreName) |
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.FeatureType |
getFeatureType(String gosEndpoint,
String name) |
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer |
getGeoserverLayer(String gosEndpoint,
String name) |
List<gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer> |
getGeoserverLayers(String gosEndpoint) |
List<gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer> |
getGeoserverLayers(String gosEndpoint,
String datastoreName) |
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.PublishConfig |
getGeoTIFFPublishConfig(String gosEndpoint,
String layerId) |
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.FeatureType |
getLayerAttributesByLayerID(UUID layerID,
String gosEndpoint) |
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.LayerType |
getLayerType(String gosEndpoint,
String name) |
String |
getStyle(String gosEndpoint,
String name) |
boolean |
initializeEnvironment(String gosEndpoint,
List<gr.cite.geoanalytics.dataaccess.entities.sysconfig.xml.layer.LayerConfig> layerConfigs,
gr.cite.geoanalytics.dataaccess.entities.sysconfig.xml.presentation.SystemPresentationConfig systemPresentationConfig,
List<gr.cite.gaap.datatransferobjects.StyleMessenger> styles) |
List<String> |
listDataStores(String gosEndpoint) |
List<gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer> |
listLayersOfDataStore(String gosEndpoint,
String datastoreName) |
void |
publishGeoTIFF(String gosEndpoint,
gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.PublishConfig publishConfig,
gr.cite.geoanalytics.dataaccess.entities.coverage.Coverage coverage) |
boolean |
removeLayerStyle(String gosEndpoint,
String layerName,
String styleName,
Integer minScale,
Integer maxScale) |
boolean |
removeStyle(String gosEndpoint,
String styleName) |
boolean |
removeStyle(String gosEndpoint,
String styleName,
Integer minScale,
Integer maxScale) |
boolean |
setDefaultLayerStyle(String gosEndpoint,
String layerName,
String styleName,
String sld,
Integer minScale,
Integer maxScale) |
boolean |
workspaceExists(String gosEndpoint,
String workspaceName) |
getJerseyClient, getMapperpublic GeoserverManagement(String authenticationStr)
public boolean initializeEnvironment(String gosEndpoint, List<gr.cite.geoanalytics.dataaccess.entities.sysconfig.xml.layer.LayerConfig> layerConfigs, gr.cite.geoanalytics.dataaccess.entities.sysconfig.xml.presentation.SystemPresentationConfig systemPresentationConfig, List<gr.cite.gaap.datatransferobjects.StyleMessenger> styles) throws IOException
IOExceptionpublic List<gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer> getGeoserverLayers(String gosEndpoint) throws IOException
IOExceptionpublic boolean deleteGeoserverLayer(String gosEndpoint, String layerId, gr.cite.geoanalytics.dataaccess.entities.layer.DataSource dataSource) throws IOException
IOExceptionpublic boolean addDataStore(String gosEndpoint, gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.DataStore datastore) throws IOException
IOExceptionpublic boolean addGeoserverLayer(String gosEndpoint, gr.cite.geoanalytics.dataaccess.entities.sysconfig.xml.layer.LayerConfig layerConfig, Map<String,String> slds, String crs, String style) throws IOException
IOExceptionpublic boolean addGeoserverLayer(String gosEndpoint, gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer geoserverLayer, gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.FeatureType ft, Map<String,String> slds, Integer minScale, Integer maxScale) throws IOException
IOExceptionpublic boolean addGeoserverLayer(String gosEndpoint, gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer geoserverLayer, gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.FeatureType ft, Map<String,String> slds) throws IOException
IOExceptionpublic boolean addLayerStyle(String gosEndpoint, String layerName, String styleName, String sld, Integer minScale, Integer maxScale) throws IOException
IOExceptionpublic boolean addLayerStyle(String gosEndpoint, String layerName, String styleName, String sld) throws IOException
IOExceptionpublic boolean addStyle(String gosEndpoint, String styleName, String sld, Integer minScale, Integer maxScale) throws IOException
IOExceptionpublic boolean addStyleIcons(String gosEndpoint, String styleName, List<org.springframework.web.multipart.MultipartFile> icons)
public boolean addStyle(String gosEndpoint, String styleName, String sld) throws IOException
IOExceptionpublic boolean addWorkspace(String gosEndpoint, String name, String uri) throws IOException
IOExceptionpublic boolean dataStoreExists(String gosEndpoint, String workspaceName, String dataStoreName) throws IOException
IOExceptionpublic gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.DataStore getDataStore(String gosEndpoint, String dataStoreName) throws IOException
IOExceptionpublic gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.FeatureType getFeatureType(String gosEndpoint, String name) throws IOException
IOExceptionpublic gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.LayerType getLayerType(String gosEndpoint, String name) throws IOException
IOExceptionpublic gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer getGeoserverLayer(String gosEndpoint, String name) throws IOException
IOExceptionpublic List<gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer> getGeoserverLayers(String gosEndpoint, String datastoreName) throws IOException
IOExceptionpublic String getStyle(String gosEndpoint, String name) throws IOException
IOExceptionpublic List<String> getAllStyles(String gosEndpoint) throws IOException
IOExceptionpublic List<String> listDataStores(String gosEndpoint) throws IOException
IOExceptionpublic List<gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.GeoserverLayer> listLayersOfDataStore(String gosEndpoint, String datastoreName) throws IOException
IOExceptionpublic boolean removeLayerStyle(String gosEndpoint, String layerName, String styleName, Integer minScale, Integer maxScale) throws IOException
IOExceptionpublic boolean removeStyle(String gosEndpoint, String styleName, Integer minScale, Integer maxScale) throws IOException
IOExceptionpublic boolean removeStyle(String gosEndpoint, String styleName) throws IOException
IOExceptionpublic boolean setDefaultLayerStyle(String gosEndpoint, String layerName, String styleName, String sld, Integer minScale, Integer maxScale) throws IOException
IOExceptionpublic boolean workspaceExists(String gosEndpoint, String workspaceName) throws IOException
IOExceptionpublic gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.PublishConfig getGeoTIFFPublishConfig(String gosEndpoint, String layerId) throws Exception
Exceptionpublic void publishGeoTIFF(String gosEndpoint, gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.PublishConfig publishConfig, gr.cite.geoanalytics.dataaccess.entities.coverage.Coverage coverage) throws Exception
Exceptionpublic gr.cite.geoanalytics.dataaccess.geoserverbridge.elements.FeatureType getLayerAttributesByLayerID(UUID layerID, String gosEndpoint) throws IOException
IOExceptionCopyright © 2018. All Rights Reserved.