Package com.infragistics.reveal.sdk.util
Class RVModelUtilities
- java.lang.Object
-
- com.infragistics.reveal.sdk.util.RVModelUtilities
-
public class RVModelUtilities extends Object
Utilities to handle dashboard model and related classes
-
-
Constructor Summary
Constructors Constructor Description RVModelUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
encodePathSegment(String value)
Encodes the given value to be used as a path segment in a URI.static String
encodeQueryParam(String value)
Encodes the given value to be used as a query parameter in a URI.static String
getUniqueIdentifier(RVDashboardDataSource ds)
Returns an id that uniquely identifies the provided data source based on the provider and properties.
-
-
-
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.
-
-