public abstract class GisViewerServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements GisViewerService
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
BASE_LAYER |
protected static org.gcube.common.geoserverinterface.GeonetworkCommonResourceInterface.GeoserverMethodResearch |
researchMethod |
| Constructor and Description |
|---|
GisViewerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<? extends GisViewerBaseLayerInterface> |
getBaseLayersToAddGisViewer()
Gets the base layers to add gis viewer.
|
List<? extends GisViewerBaseLayerInterface> |
getBaseLayersToGisViewer()
Gets the base layers to gis viewer.
|
List<WebFeatureTable> |
getDataResult(List<LayerItem> layerItems,
String bbox,
int maxWFSFeature,
int zoomLevel)
Gets the data result.
|
List<DataResult> |
getDataResult(List<String> urls)
Gets the data result.
|
abstract String |
getGcubeSecurityToken()
Gets the gcube security token.
|
protected org.gcube.common.geoserverinterface.GeoCaller |
getGeoCaller()
Gets the geo caller.
|
LayerItemsResult |
getGroupsInfo(String groupName)
Gets the groups info.
|
LayerItemsResult |
getLayersInfo(List<String> layersName)
Gets the layers info.
|
LayerItemsResult |
getLayersInfoByLayerItems(List<LayerItem> layerItems)
Gets the layers info by layer items.
|
List<Property> |
getListProperty(String geoserverUrl,
LayerItem layer)
Added by Francesco M.
|
protected abstract GisViewerServiceParameters |
getParameters()
Gets the parameters.
|
TransectParameters |
getTransectParameters()
Gets the transect parameters.
|
static GeoInformationForWMSRequest |
loadGeoInfoForWmsRequest(String wmsRequest,
String layerName)
Load geo info for wms request.
|
GeoInformationForWMSRequest |
parseWmsRequest(String wmsRequest,
String layerName)
Parses the wms request.
|
String |
parseWmsRequest(WmsRequest request)
Parses the wms request.
|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected static final boolean BASE_LAYER
protected static final org.gcube.common.geoserverinterface.GeonetworkCommonResourceInterface.GeoserverMethodResearch researchMethod
protected abstract GisViewerServiceParameters getParameters() throws Exception
Exception - the exceptionprotected abstract List<? extends GisViewerBaseLayerInterface> getBaseLayersToAddGisViewer() throws Exception
Exception - the exceptionpublic abstract String getGcubeSecurityToken()
GisViewerServicegetGcubeSecurityToken in interface GisViewerServiceprotected org.gcube.common.geoserverinterface.GeoCaller getGeoCaller()
throws Exception
Exception - the exceptionpublic List<DataResult> getDataResult(List<String> urls)
GisViewerServicegetDataResult in interface GisViewerServiceurls - the urlspublic GeoInformationForWMSRequest parseWmsRequest(String wmsRequest, String layerName) throws Exception
GisViewerServiceparseWmsRequest in interface GisViewerServicewmsRequest - the wms requestlayerName - the layer nameException - the exceptionpublic static GeoInformationForWMSRequest loadGeoInfoForWmsRequest(String wmsRequest, String layerName) throws Exception
wmsRequest - the wms requestlayerName - the layer nameException - the exceptionpublic LayerItemsResult getGroupsInfo(String groupName)
GisViewerServicegetGroupsInfo in interface GisViewerServicegroupName - the group namepublic LayerItemsResult getLayersInfo(List<String> layersName)
GisViewerServicegetLayersInfo in interface GisViewerServicelayersName - the layers namepublic List<? extends GisViewerBaseLayerInterface> getBaseLayersToGisViewer()
GisViewerServicegetBaseLayersToGisViewer in interface GisViewerServicepublic LayerItemsResult getLayersInfoByLayerItems(List<LayerItem> layerItems)
GisViewerServicegetLayersInfoByLayerItems in interface GisViewerServicelayerItems - the layer itemspublic TransectParameters getTransectParameters()
getTransectParameters in interface GisViewerServicepublic List<WebFeatureTable> getDataResult(List<LayerItem> layerItems, String bbox, int maxWFSFeature, int zoomLevel)
GisViewerServicegetDataResult in interface GisViewerServicelayerItems - the layer itemsbbox - the bboxmaxWFSFeature - the max wfs featurezoomLevel - the zoom levelpublic List<Property> getListProperty(String geoserverUrl, LayerItem layer)
GisViewerServicegetListProperty in interface GisViewerServicegeoserverUrl - the geoserver urllayer - the layerpublic String parseWmsRequest(WmsRequest request) throws Exception
parseWmsRequest in interface GisViewerServicerequest - the requestException - the exceptionCopyright © 2016. All Rights Reserved.