public class D3VisualizationPortletUpgrader extends java.lang.Object implements PortletUpgrader
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
D3CONFIG |
static int |
DEFAULT_SHOW_UP_TO_FOR_CATEGORY |
static int |
DEFAULT_SHOW_UP_TO_FOR_COLOR |
static int |
DEFAULT_SHOW_UP_TO_FOR_DATETIME |
static int |
DEFAULT_SHOW_UP_TO_FOR_NUMERIC |
static org.codehaus.jackson.map.ObjectMapper |
mapper |
static java.lang.String |
SPECIFIEDSTR |
static java.lang.String |
VISUALSTATE |
| Constructor and Description |
|---|
D3VisualizationPortletUpgrader() |
| Modifier and Type | Method and Description |
|---|---|
void |
upgradePortletPreferences(javax.portlet.PortletPreferences prefs) |
void |
upgradePortletState(EndecaPortletState state) |
void |
upgradeToVersion14(javax.portlet.PortletPreferences prefs) |
void |
upgradeToVersion4(boolean needUpgrade,
javax.portlet.PortletPreferences prefs) |
void |
upgradeToVersion9(javax.portlet.PortletPreferences prefs) |
public static final org.codehaus.jackson.map.ObjectMapper mapper
public static final java.lang.String D3CONFIG
public static final java.lang.String VISUALSTATE
public static final java.lang.String SPECIFIEDSTR
public static final int DEFAULT_SHOW_UP_TO_FOR_NUMERIC
public static final int DEFAULT_SHOW_UP_TO_FOR_DATETIME
public static final int DEFAULT_SHOW_UP_TO_FOR_CATEGORY
public static final int DEFAULT_SHOW_UP_TO_FOR_COLOR
public void upgradePortletPreferences(javax.portlet.PortletPreferences prefs)
upgradePortletPreferences in interface PortletUpgraderpublic void upgradeToVersion4(boolean needUpgrade,
javax.portlet.PortletPreferences prefs)
public void upgradeToVersion9(javax.portlet.PortletPreferences prefs)
public void upgradeToVersion14(javax.portlet.PortletPreferences prefs)
prefs - java.io.IOExceptionorg.codehaus.jackson.map.JsonMappingExceptionorg.codehaus.jackson.JsonParseExceptionjavax.portlet.ReadOnlyExceptionjavax.portlet.ValidatorExceptionpublic void upgradePortletState(EndecaPortletState state)
upgradePortletState in interface PortletUpgraderCopyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.