public class DashboardCustomizationHelper
extends java.lang.Object
| Constructor and Description |
|---|
DashboardCustomizationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteCustomization(java.lang.String id)
Removes customization identified by idHash
|
static void |
deleteCustomizations()
Removes all Dashboard related customizations
|
static java.lang.String |
getCustomization(java.lang.String id,
com.technia.tvc.core.db.aef.env.Environment env)
Returns customization value associated with a given id and environment
|
static DashboardParseCustomizationService |
getReadOnlyCustomization(com.technia.tvc.core.db.aef.env.Environment env) |
static boolean |
isEnabled() |
static void |
saveCustomization(CustomizedComponent changed)
Save customization to database
|
public static boolean isEnabled()
public static DashboardParseCustomizationService getReadOnlyCustomization(com.technia.tvc.core.db.aef.env.Environment env)
public static java.lang.String getCustomization(java.lang.String id,
com.technia.tvc.core.db.aef.env.Environment env)
id - Dashboard's idHashenv - public static void saveCustomization(CustomizedComponent changed) throws com.technia.tvc.core.TVCException
changed - - updated customizationcom.technia.tvc.core.TVCExceptionpublic static void deleteCustomization(java.lang.String id)
throws com.technia.tvc.core.TVCException
id - idHash of dashboard that needs to be clearedcom.technia.tvc.core.TVCExceptionpublic static void deleteCustomizations()
throws com.technia.tvc.core.TVCException
com.technia.tvc.core.TVCException