Class GNADataEntryConfigProfileReader


  • public class GNADataEntryConfigProfileReader
    extends Object
    The Class GNADataEntryConfigProfileReader.
    Author:
    Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Dec 21, 2021
    • Constructor Detail

      • GNADataEntryConfigProfileReader

        public GNADataEntryConfigProfileReader()
        Instantiates a new application profile reader.
    • Method Detail

      • toGcubeUserRole

        protected static GcubeUserRole toGcubeUserRole​(String name)
        To gcube user role.
        Parameters:
        name - the name
        Returns:
        the gcube user role
      • readRoleRightsConfig

        public List<RoleRights> readRoleRightsConfig​(String permissions_for_role)
                                              throws GNAConfigException
        Read user rights config.
        Parameters:
        permissions_for_role - the permissions for role
        Returns:
        the list
        Throws:
        GNAConfigException - the GNA user rights config not found exception
      • getGcubeGenericQueryString

        public static String getGcubeGenericQueryString​(String secondaryType,
                                                        String genericResourceName)
        Gets the gcube generic query string.
        Parameters:
        secondaryType - the secondary type
        genericResourceName - the generic resource name
        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