public abstract class Migration extends Object
Modifier and Type | Field and Description |
---|---|
protected CoreService |
dmx |
protected ModelFactory |
mf |
Constructor and Description |
---|
Migration() |
Modifier and Type | Method and Description |
---|---|
abstract void |
run() |
protected void |
setAssocTypeViewConfigValue(String assocTypeUri,
String setting,
Object value)
Convenience method for plugin authors to set a Webclient view config value for a certain assoc type.
|
void |
setCoreService(CoreService dmx) |
protected void |
setTopicTypeViewConfigValue(String topicTypeUri,
String setting,
Object value)
Convenience method for plugin authors to set a Webclient view config value for a certain topic type.
|
private void |
setViewConfigValue(DMXType type,
String setting,
Object value) |
protected CoreService dmx
protected ModelFactory mf
public Migration()
public void setCoreService(CoreService dmx)
public abstract void run()
protected final void setTopicTypeViewConfigValue(String topicTypeUri, String setting, Object value)
topicTypeUri
- The URI of the topic type whose view configuration value to set.setting
- Last component of the child type URI whose value to set, e.g. "icon".value
- The config value (String, Integer, Long, Double, or Boolean).protected final void setAssocTypeViewConfigValue(String assocTypeUri, String setting, Object value)
assocTypeUri
- The URI of the assoc type whose view configuration value to set.setting
- Last component of the child type URI whose value to set, e.g. "color".value
- The config value (String, Integer, Long, Double, or Boolean).private void setViewConfigValue(DMXType type, String setting, Object value)
Copyright © 2018. All Rights Reserved.