public class GeoportalCommon extends Object
| Constructor and Description |
|---|
GeoportalCommon()
Instantiates a new geoportal common.
|
GeoportalCommon(GNADataViewerConfigProfile geonaDataProfile)
Instantiates a new geoportal common.
|
| Modifier and Type | Method and Description |
|---|---|
GNADataViewerConfigProfile |
getGeonaDataProfile()
Gets the geona data profile.
|
GeoNaItemRef |
getPublicLinksFor(GeoNaItemRef item,
boolean createShortURL)
Gets the public links for.
|
String |
getShortUrl(String longUrl)
Gets the short url.
|
GNADataEntryConfigProfile |
readGNADataEntryConfig()
Gets the GNA data config read from ApplicationProfile stored into IS.
|
GNADataViewerConfigProfile |
readGNADataViewerConfig(String appID)
Read GNA data viewer config.
|
public GeoportalCommon()
public GeoportalCommon(GNADataViewerConfigProfile geonaDataProfile)
geonaDataProfile - the geona data profilepublic GeoNaItemRef getPublicLinksFor(GeoNaItemRef item, boolean createShortURL) throws Exception
item - the itemcreateShortURL - creates and returns the short URL also.Exception - the exceptionpublic String getShortUrl(String longUrl) throws Exception
longUrl - the long urlException - the exceptionpublic GNADataViewerConfigProfile getGeonaDataProfile()
public GNADataViewerConfigProfile readGNADataViewerConfig(String appID) throws Exception
appID - the app ID. If null uses the default
GeoportalCommonConstants.GEOPORTAL_DATA_VIEWER_APPException - the exceptionpublic GNADataEntryConfigProfile readGNADataEntryConfig() throws Exception
Exception - the exceptionCopyright © 2022. All Rights Reserved.