public class GNADataEntryConfigProfileReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
GENERIC_RESOURCE_NAME |
static String |
SECONDARY_TYPE |
| Constructor and Description |
|---|
GNADataEntryConfigProfileReader()
Instantiates a new application profile reader.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getGcubeGenericQueryString(String secondaryType,
String genericResourceName)
Gets the gcube generic query string.
|
String |
getScope()
Gets the scope.
|
String |
getSecondaryType()
Gets the secondary type.
|
protected GNADataEntryConfigProfile |
readProfileFromInfrastrucure()
Read profile from infrastrucure.
|
List<RoleRights> |
readRoleRightsConfig(String permissions_for_role)
Read user rights config.
|
protected static GcubeUserRole |
toGcubeUserRole(String name)
To gcube user role.
|
public static final String SECONDARY_TYPE
public static final String GENERIC_RESOURCE_NAME
public GNADataEntryConfigProfileReader()
protected GNADataEntryConfigProfile readProfileFromInfrastrucure() throws Exception
Exception - the exceptionprotected static GcubeUserRole toGcubeUserRole(String name)
name - the namepublic List<RoleRights> readRoleRightsConfig(String permissions_for_role) throws GNAConfigException
permissions_for_role - the permissions for roleGNAConfigException - the GNA user rights config not found
exceptionpublic static String getGcubeGenericQueryString(String secondaryType, String genericResourceName)
secondaryType - the secondary typegenericResourceName - the generic resource namepublic String getSecondaryType()
public String getScope()
Copyright © 2022. All Rights Reserved.