Class RVModelUtilities


  • public class RVModelUtilities
    extends Object
    Utilities to handle dashboard model and related classes
    • Constructor Detail

      • RVModelUtilities

        public RVModelUtilities()
    • Method Detail

      • getUniqueIdentifier

        public static String getUniqueIdentifier​(RVDashboardDataSource ds)
        Returns an id that uniquely identifies the provided data source based on the provider and properties.
        Parameters:
        ds - The data source to return the unique identifier for.
        Returns:
        an id that uniquely identifies the provided data source based on the provider and properties.
      • encodeQueryParam

        public static String encodeQueryParam​(String value)
        Encodes the given value to be used as a query parameter in a URI.
        Parameters:
        value - the value to be encoded.
        Returns:
        The encoded value.
      • encodePathSegment

        public static String encodePathSegment​(String value)
        Encodes the given value to be used as a path segment in a URI.
        Parameters:
        value - the value to be encoded.
        Returns:
        The encoded value.