public class GCubeGisViewerServletImpl extends org.gcube.portlets.user.gisviewer.server.GisViewerServiceImpl implements GCubeGisViewerService
| Modifier and Type | Field and Description |
|---|---|
static long |
CACHE_REFRESH_TIME |
static String |
GEOCALLER_ATTRIBUTE_NAME |
static String |
GEONETWORK_RESOURCE_NAME |
static String |
GEOSERVER_RESOURCE_NAME |
static org.apache.log4j.Logger |
log |
protected org.apache.log4j.Logger |
logger |
protected Map<String,org.gcube.portlets.user.gisviewer.server.GisViewerServiceParameters> |
parametersCache |
protected Timer |
timer |
static String |
TRANSECT_RESOURCE_NAME |
static String |
USERNAME_ATTRIBUTE |
| Constructor and Description |
|---|
GCubeGisViewerServletImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected org.gcube.application.framework.core.session.ASLSession |
getASLSession(javax.servlet.http.HttpSession httpSession) |
protected List<? extends org.gcube.portlets.user.gisviewer.client.commons.beans.GisViewerBaseLayerInterface> |
getBaseLayersToAddGisViewer() |
List<? extends org.gcube.portlets.user.gisviewer.client.commons.beans.GisViewerBaseLayerInterface> |
getBaseLayersToGisViewer() |
protected org.gcube.common.geoserverinterface.GeoCaller |
getGeoCaller() |
protected org.gcube.portlets.user.gisviewer.server.GisViewerServiceParameters |
getParameters() |
protected ServerParameters |
getParameters(org.gcube.common.scope.impl.ScopeBean scope,
String resourceName) |
protected String |
getTransectUrl(org.gcube.common.scope.impl.ScopeBean scope,
String resourceName) |
void |
init() |
static void |
main(String[] args) |
protected void |
refreshParametersCache() |
protected org.gcube.portlets.user.gisviewer.server.GisViewerServiceParameters |
retrieveGisParameters(org.gcube.common.scope.impl.ScopeBean scope) |
void |
saveLayerItem(String name,
String mimeType,
String url,
String destinationFolderId) |
void |
saveMapImageItem(String name,
String mimeType,
String bbox,
String width,
String height,
String[] geoservers,
String[] layers,
String[] styles,
String[] opacities,
String[] cqlfilters,
String[] gsrefs,
String destinationFolderId) |
getDataResult, getDataResult, getDataResult, getGroupsInfo, getLayersInfo, getLayersInfoByLayerItems, getListProperty, getTransectUrlcheckPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic static final String USERNAME_ATTRIBUTE
public static final String GEOSERVER_RESOURCE_NAME
public static final String GEONETWORK_RESOURCE_NAME
public static final String TRANSECT_RESOURCE_NAME
public static final String GEOCALLER_ATTRIBUTE_NAME
public static final long CACHE_REFRESH_TIME
public static org.apache.log4j.Logger log
protected Map<String,org.gcube.portlets.user.gisviewer.server.GisViewerServiceParameters> parametersCache
protected org.apache.log4j.Logger logger
protected Timer timer
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletprotected org.gcube.application.framework.core.session.ASLSession getASLSession(javax.servlet.http.HttpSession httpSession)
protected ServerParameters getParameters(org.gcube.common.scope.impl.ScopeBean scope, String resourceName) throws Exception
Exceptionprotected String getTransectUrl(org.gcube.common.scope.impl.ScopeBean scope, String resourceName) throws Exception
Exceptionprotected org.gcube.portlets.user.gisviewer.server.GisViewerServiceParameters retrieveGisParameters(org.gcube.common.scope.impl.ScopeBean scope)
throws Exception
Exceptionprotected org.gcube.portlets.user.gisviewer.server.GisViewerServiceParameters getParameters()
throws Exception
getParameters in class org.gcube.portlets.user.gisviewer.server.GisViewerServiceImplExceptionprotected void refreshParametersCache()
public List<? extends org.gcube.portlets.user.gisviewer.client.commons.beans.GisViewerBaseLayerInterface> getBaseLayersToGisViewer()
getBaseLayersToGisViewer in interface org.gcube.portlets.user.gisviewer.client.GisViewerServicegetBaseLayersToGisViewer in class org.gcube.portlets.user.gisviewer.server.GisViewerServiceImplprotected org.gcube.common.geoserverinterface.GeoCaller getGeoCaller()
throws Exception
getGeoCaller in class org.gcube.portlets.user.gisviewer.server.GisViewerServiceImplExceptionpublic void saveLayerItem(String name, String mimeType, String url, String destinationFolderId) throws Exception
saveLayerItem in interface GCubeGisViewerServiceExceptionpublic void saveMapImageItem(String name, String mimeType, String bbox, String width, String height, String[] geoservers, String[] layers, String[] styles, String[] opacities, String[] cqlfilters, String[] gsrefs, String destinationFolderId) throws Exception
saveMapImageItem in interface GCubeGisViewerServiceExceptionprotected List<? extends org.gcube.portlets.user.gisviewer.client.commons.beans.GisViewerBaseLayerInterface> getBaseLayersToAddGisViewer() throws Exception
getBaseLayersToAddGisViewer in class org.gcube.portlets.user.gisviewer.server.GisViewerServiceImplExceptionCopyright © 2014. All Rights Reserved.