Class StyleCatalogModule
- java.lang.Object
-
- com.microstrategy.web.app.utils.upgrade.AbstractModule
-
- com.microstrategy.web.app.utils.upgrade.AbstractXMLConfigModule
-
- com.microstrategy.web.app.utils.upgrade.StyleCatalogModule
-
- All Implemented Interfaces:
UpgradeModule
public class StyleCatalogModule extends AbstractXMLConfigModule
This module is responsible for upgrading the stylecatlog.xml. After deltas have been detected, it will update file locations for context-menus and layouts to as recommended by best-practices.- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description StyleCatalogModule(UpgradeManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcalculateContextMenusPath(java.lang.String sPath)protected java.lang.StringcalculateLayoutPath(java.lang.String sPath)protected java.lang.StringcalculateNewFilePath(java.lang.String sPath)protected java.lang.ClasselementClass()Subclasses must implement this method to identify the AbstractConfigurationElement class that represents the root node of the xml.java.lang.StringgetDescription()A description of the task the module performs.java.lang.StringgetName()The display name of this module.protected java.lang.StringinitParameterName()Subclasses must implement this method to identify the name of the init-parameter that defines the location of the xml configuration file.protected AbstractConfigurationElementprocessDeltas(AbstractConfigurationElement deltas)Changes the location of custom context-menus and layouts as recommended by best practices.-
Methods inherited from class com.microstrategy.web.app.utils.upgrade.AbstractXMLConfigModule
calculateDeltas, calculateNewPath, getBaseElement, getCustomElement, getUpgradeInfo, processConfigFile, run, saveDeltas
-
Methods inherited from class com.microstrategy.web.app.utils.upgrade.AbstractModule
canChangeEnabled, getRelativePath, getUpgradeManager, isEnabled, setEnabled
-
-
-
-
Constructor Detail
-
StyleCatalogModule
public StyleCatalogModule(UpgradeManager manager)
-
-
Method Detail
-
elementClass
protected java.lang.Class elementClass()
Description copied from class:AbstractXMLConfigModuleSubclasses must implement this method to identify the AbstractConfigurationElement class that represents the root node of the xml.- Specified by:
elementClassin classAbstractXMLConfigModule
-
initParameterName
protected java.lang.String initParameterName()
Description copied from class:AbstractXMLConfigModuleSubclasses must implement this method to identify the name of the init-parameter that defines the location of the xml configuration file.- Specified by:
initParameterNamein classAbstractXMLConfigModule
-
processDeltas
protected AbstractConfigurationElement processDeltas(AbstractConfigurationElement deltas)
Changes the location of custom context-menus and layouts as recommended by best practices.- Overrides:
processDeltasin classAbstractXMLConfigModule
-
calculateLayoutPath
protected java.lang.String calculateLayoutPath(java.lang.String sPath)
-
calculateContextMenusPath
protected java.lang.String calculateContextMenusPath(java.lang.String sPath)
-
calculateNewFilePath
protected java.lang.String calculateNewFilePath(java.lang.String sPath)
-
getName
public java.lang.String getName()
Description copied from interface:UpgradeModuleThe display name of this module.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:UpgradeModuleA description of the task the module performs.
-
-