public class GeoserverLayer extends Object
| Constructor and Description |
|---|
GeoserverLayer(javax.servlet.ServletContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
datasourceExists(String datasourcesXML,
String datasource)
Check, whether a datasource with given name already exists in the
workspace.
|
String |
getDatasourcesXML(String workspace)
Get vector datasources that exist in the given workspace.
|
String |
getDbSchema() |
String |
getDbUserName() |
String |
getDbUserPass() |
String |
getGeoserverPass() |
String |
getGeoserverRestUrl() |
String |
getGeoserverUrl() |
String |
getGeoserverUser() |
Map<String,String> |
getHeaders() |
String |
getLayersXML()
Get existing layers on this geoserver over all workspaces.
|
String |
getPgPort() |
String |
getWorkspacesXML() |
boolean |
layerExists(String layerTitle)
Determines, whether a layername already exists on the geoserver instance.
|
void |
setDbUserName(String dbUserName) |
void |
setDbUserPass(String dbUserPass) |
boolean |
wmsstoreExists(String wmsstoresXML,
String wmsstore) |
boolean |
workspaceExists(String workspacesXML,
String workspace) |
public boolean layerExists(String layerTitle) throws IOException
IOExceptionpublic boolean datasourceExists(String datasourcesXML, String datasource) throws IOException
workspace - datasource - ExceptionIOExceptionpublic boolean wmsstoreExists(String wmsstoresXML, String wmsstore) throws IOException
IOExceptionpublic boolean workspaceExists(String workspacesXML, String workspace) throws IOException
IOExceptionpublic String getDatasourcesXML(String workspace) throws IOException
workspace - datasource - ExceptionIOExceptionpublic String getWorkspacesXML() throws IOException
IOExceptionpublic String getLayersXML() throws IOException
ExceptionIOExceptionpublic String getDbUserName()
public void setDbUserName(String dbUserName)
public String getDbUserPass()
public void setDbUserPass(String dbUserPass)
public String getGeoserverUser()
public String getGeoserverPass()
public String getGeoserverUrl()
public String getGeoserverRestUrl()
public String getDbSchema()
public String getPgPort()
Copyright © 2021. All rights reserved.