public class SDIManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
DB_NAME_PATTERN |
static Pattern |
HOSTNAME_PATTERN |
static Pattern |
PORT_PATTERN |
| Constructor and Description |
|---|
SDIManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
configureCentroidLayer(String name,
String workspace,
String storeName,
PostgisTable table,
org.gcube.application.geoportal.common.model.rest.DatabaseConnection connection) |
String |
createWorkspace(String toCreate) |
void |
deleteContent(org.gcube.application.geoportal.common.model.legacy.GeoServerContent toDelete) |
org.gcube.data.transfer.model.RemoteFileDescriptor |
getGeoServerRemoteFolder() |
org.gcube.application.geoportal.common.model.legacy.GeoServerContent |
pushShapeLayerFileSet(org.gcube.application.geoportal.common.model.legacy.SDILayerDescriptor currentElement,
String workspace,
String projectId) |
public static final Pattern HOSTNAME_PATTERN
public static final Pattern PORT_PATTERN
public static final Pattern DB_NAME_PATTERN
public SDIManager()
throws SDIInteractionException
SDIInteractionExceptionpublic org.gcube.data.transfer.model.RemoteFileDescriptor getGeoServerRemoteFolder()
throws org.gcube.data.transfer.library.faults.RemoteServiceException
org.gcube.data.transfer.library.faults.RemoteServiceExceptionpublic String createWorkspace(String toCreate) throws SDIInteractionException
SDIInteractionExceptionpublic org.gcube.application.geoportal.common.model.legacy.GeoServerContent pushShapeLayerFileSet(org.gcube.application.geoportal.common.model.legacy.SDILayerDescriptor currentElement,
String workspace,
String projectId)
throws SDIInteractionException
SDIInteractionExceptionpublic String configureCentroidLayer(String name, String workspace, String storeName, PostgisTable table, org.gcube.application.geoportal.common.model.rest.DatabaseConnection connection) throws SDIInteractionException
SDIInteractionExceptionpublic void deleteContent(org.gcube.application.geoportal.common.model.legacy.GeoServerContent toDelete)
throws IllegalArgumentException,
MalformedURLException,
org.gcube.data.transfer.library.faults.RemoteServiceException
IllegalArgumentExceptionMalformedURLExceptionorg.gcube.data.transfer.library.faults.RemoteServiceExceptionCopyright © 2022. All Rights Reserved.