package org.gcube.portlets.user.geoportaldataviewer.shared; import java.io.Serializable; import java.util.Map; import org.gcube.portlets.user.geoportaldataviewer.shared.gis.LayerItem; import com.google.gwt.user.client.rpc.IsSerializable; /** * The Class GeoNaDataViewerProfile. * * @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) * * Nov 13, 2020 */ public class GeoNaDataViewerProfile implements IsSerializable, Serializable{ /** * */ private static final long serialVersionUID = 8583236018312392009L; private String restrictedPortletURL; private String openPortletURL; //the key is the layer type private Map mapLayers; /** * Instantiates a new geo na data viewer profile. */ public GeoNaDataViewerProfile() { } /** * Gets the restricted portlet URL. * * @return the restricted portlet URL */ public String getRestrictedPortletURL() { return restrictedPortletURL; } /** * Sets the restricted portlet URL. * * @param restrictedPortletURL the new restricted portlet URL */ public void setRestrictedPortletURL(String restrictedPortletURL) { this.restrictedPortletURL = restrictedPortletURL; } /** * Gets the open portlet URL. * * @return the open portlet URL */ public String getOpenPortletURL() { return openPortletURL; } /** * Sets the open portlet URL. * * @param openPortletURL the new open portlet URL */ public void setOpenPortletURL(String openPortletURL) { this.openPortletURL = openPortletURL; } /** * Gets the map layers. * * @return the map layers */ public Map getMapLayers() { return mapLayers; } /** * Sets the map layers. * * @param mapLayers the map layers */ public void setMapLayers(Map mapLayers) { this.mapLayers = mapLayers; } /** * To string. * * @return the string */ @Override public String toString() { StringBuilder builder = new StringBuilder(); builder.append("GeoNaDataViewerProfile [restrictedPortletURL="); builder.append(restrictedPortletURL); builder.append(", openPortletURL="); builder.append(openPortletURL); builder.append(", mapLayers="); builder.append(mapLayers); builder.append("]"); return builder.toString(); } }