public class GCubeGeoExplorerServletImpl
extends org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceImpl
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 |
protected List<String> |
listUrlInternalGeoserver |
static org.apache.log4j.Logger |
logger |
protected Map<String,org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceInterface> |
parametersCache |
protected Timer |
timer |
static String |
USERNAME_ATTRIBUTE |
Constructor and Description |
---|
GCubeGeoExplorerServletImpl() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected org.gcube.application.framework.core.session.ASLSession |
getASLSession(javax.servlet.http.HttpSession httpSession) |
List<String> |
getBaseLayersItem() |
List<String> |
getDefaultLayersItem() |
List<? extends org.gcube.portlets.user.geoexplorer.client.beans.GeoexplorerMetadataStyleInterface> |
getGeoexplorerStylesToShow(boolean onlyIsDisplay) |
org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceInterface |
getGeoParameters() |
protected List<String> |
getInternalGeoserver() |
protected ServerParameters |
getParameters(org.gcube.common.scope.impl.ScopeBean scope,
boolean isGeoserver) |
void |
init() |
protected void |
invalidCache(org.gcube.common.scope.impl.ScopeBean scope) |
static void |
main(String[] args) |
protected void |
refreshParametersCache() |
protected org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceInterface |
retrieveGisParameters(org.gcube.common.scope.impl.ScopeBean scope) |
getBaseLayers, getDefaultLayers, getGeoexplorerStyles, getGeonetworkInstanceFromSession, getGeonetworkReader, getGisPublisherSearchSession, getHttpSession, getLayerItemByUUID, getLayers, getListLayerItemByUUID, getMetadataItemByUUID, getRowMetadataItemByUUID, hardRefresh, initGeoParameters
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String USERNAME_ATTRIBUTE
public static final String GEOSERVER_RESOURCE_NAME
public static final String GEONETWORK_RESOURCE_NAME
public static final String GEOCALLER_ATTRIBUTE_NAME
public static final long CACHE_REFRESH_TIME
public static org.apache.log4j.Logger logger
protected Map<String,org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceInterface> parametersCache
protected Timer timer
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
protected org.gcube.application.framework.core.session.ASLSession getASLSession(javax.servlet.http.HttpSession httpSession)
protected ServerParameters getParameters(org.gcube.common.scope.impl.ScopeBean scope, boolean isGeoserver) throws Exception
Exception
protected org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceInterface retrieveGisParameters(org.gcube.common.scope.impl.ScopeBean scope) throws Exception
Exception
public org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceInterface getGeoParameters() throws Exception
getGeoParameters
in class org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceImpl
Exception
protected void refreshParametersCache()
protected List<String> getInternalGeoserver() throws Exception
getInternalGeoserver
in class org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceImpl
Exception
public List<String> getDefaultLayersItem() throws Exception
getDefaultLayersItem
in class org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceImpl
Exception
public List<String> getBaseLayersItem() throws Exception
getBaseLayersItem
in class org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceImpl
Exception
public List<? extends org.gcube.portlets.user.geoexplorer.client.beans.GeoexplorerMetadataStyleInterface> getGeoexplorerStylesToShow(boolean onlyIsDisplay) throws Exception
getGeoexplorerStylesToShow
in class org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceImpl
onlyIsDisplay
- if true return only metadata where isDisplay is trueException
protected void invalidCache(org.gcube.common.scope.impl.ScopeBean scope)
invalidCache
in class org.gcube.portlets.user.geoexplorer.server.GeoExplorerServiceImpl
Copyright © 2014. All Rights Reserved.