public class GSRESTClientImpl extends org.gcube.spatial.data.clients.AbstractGenericRESTClient implements GSRESTClient, org.gcube.spatial.data.clients.GenericLoginClient
| Constructor and Description |
|---|
GSRESTClientImpl(org.gcube.spatial.data.clients.model.ConnectionDescriptor conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
createWorkspace(String ws) |
void |
deleteDataStore(String ds) |
void |
deleteLayer(String layer) |
void |
deleteStyle(String style) |
void |
deleteWorkspace(String ws) |
org.json.simple.JSONObject |
getDataStoresInWorkspace(String ws) |
List<String> |
getDataStoresNamesInWorkspace(String ws) |
org.json.simple.JSONObject |
getStyles() |
org.json.simple.JSONObject |
getStylesByLayer(String layer) |
org.json.simple.JSONObject |
getStylesInWorkspace(String ws) |
List<String> |
getStylesNames() |
List<String> |
getStylesNamesByLayer(String layer) |
List<String> |
getStylesNamesinWorkspace(String ws) |
org.json.simple.JSONObject |
getWorkspace(String workspace) |
List<String> |
getWorkspaceNames() |
org.json.simple.JSONObject |
getWorkspaces() |
void |
login() |
void |
login(org.gcube.spatial.data.sdi.model.gn.LoginLevel lvl) |
public GSRESTClientImpl(org.gcube.spatial.data.clients.model.ConnectionDescriptor conn)
public void login()
login in interface org.gcube.spatial.data.clients.GenericLoginClientpublic void login(org.gcube.spatial.data.sdi.model.gn.LoginLevel lvl)
login in interface org.gcube.spatial.data.clients.GenericLoginClientpublic org.json.simple.JSONObject getWorkspaces()
throws org.gcube.spatial.data.sdi.model.faults.RemoteException,
Exception
getWorkspaces in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic org.json.simple.JSONObject getWorkspace(String workspace) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
getWorkspace in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic org.json.simple.JSONObject getDataStoresInWorkspace(String ws) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
getDataStoresInWorkspace in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic org.json.simple.JSONObject getStyles()
throws org.gcube.spatial.data.sdi.model.faults.RemoteException,
Exception
getStyles in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic org.json.simple.JSONObject getStylesByLayer(String layer) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
getStylesByLayer in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic org.json.simple.JSONObject getStylesInWorkspace(String ws) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
getStylesInWorkspace in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic List<String> getWorkspaceNames() throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
getWorkspaceNames in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic List<String> getDataStoresNamesInWorkspace(String ws) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
getDataStoresNamesInWorkspace in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic List<String> getStylesNames() throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
getStylesNames in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic List<String> getStylesNamesinWorkspace(String ws) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
getStylesNamesinWorkspace in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic List<String> getStylesNamesByLayer(String layer) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
getStylesNamesByLayer in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic void deleteWorkspace(String ws) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
deleteWorkspace in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic void deleteStyle(String style) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
deleteStyle in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic void deleteDataStore(String ds) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
deleteDataStore in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic void deleteLayer(String layer) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
deleteLayer in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionpublic void createWorkspace(String ws) throws org.gcube.spatial.data.sdi.model.faults.RemoteException, Exception
createWorkspace in interface GSRESTClientorg.gcube.spatial.data.sdi.model.faults.RemoteExceptionExceptionCopyright © 2021. All Rights Reserved.