Class GNADataViewerConfigProfileReader
- java.lang.Object
-
- org.gcube.application.geoportalcommon.GNADataViewerConfigProfileReader
-
public class GNADataViewerConfigProfileReader extends Object
The Class GNADataViewerConfigProfileReader.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Dec 21, 2021
-
-
Field Summary
Fields Modifier and Type Field Description static StringGENERIC_RESOURCE_NAMEstatic StringSECONDARY_TYPE
-
Constructor Summary
Constructors Constructor Description GNADataViewerConfigProfileReader(String appID)Instantiates a new application profile reader.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetGcubeGenericQueryString(String secondaryType, String appId)Gets the gcube generic query string.StringgetScope()Gets the scope.StringgetSecondaryType()Gets the secondary type.protected GNADataViewerConfigProfilereadProfileFromInfrastructure()Read profile from infrastrucure.StringtoString()
-
-
-
Field Detail
-
SECONDARY_TYPE
public static final String SECONDARY_TYPE
- See Also:
- Constant Field Values
-
GENERIC_RESOURCE_NAME
public static final String GENERIC_RESOURCE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GNADataViewerConfigProfileReader
public GNADataViewerConfigProfileReader(String appID)
Instantiates a new application profile reader.- Parameters:
appID- the app id
-
-
Method Detail
-
readProfileFromInfrastructure
protected GNADataViewerConfigProfile readProfileFromInfrastructure() throws Exception
Read profile from infrastrucure.- Returns:
- the map
- Throws:
Exception- the exception
-
getGcubeGenericQueryString
public static String getGcubeGenericQueryString(String secondaryType, String appId)
Gets the gcube generic query string.- Parameters:
secondaryType- the secondary typeappId- the app id- Returns:
- the gcube generic query string
-
getSecondaryType
public String getSecondaryType()
Gets the secondary type.- Returns:
- the secondary type
-
getScope
public String getScope()
Gets the scope.- Returns:
- the scope
-
-