Class NodeTypeTemplateUpgradePlugin
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.upgrade.UpgradeProductPlugin
-
- org.exoplatform.ecms.upgrade.templates.NodeTypeTemplateUpgradePlugin
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class NodeTypeTemplateUpgradePlugin extends org.exoplatform.commons.upgrade.UpgradeProductPluginCreated by The eXo Platform SAS Author : Nguyen Anh Vu vuna@exoplatform.com Feb 23, 2012 This class will be used to upgrade node type templates like view1.gtmpl, dialog1.gtmpl, stylesheet-rt.css, stylesheet-lt.css. Node type templates with desire of manual upgration can be specified in file configuration.properties.
Syntax :
unchanged-nodetype-templates={node name list} For examples :
unchanged-nodetype-templates=nt:file, exo:article
-
-
Field Summary
-
Fields inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin
asyncUpgradeExecution, executeOnlyOnce, OLD_PRODUCT_GROUP_ID, oldProductGroupId, PRODUCT_GROUP_ID, productGroupId, targetVersion, UPGRADE_COMPLETED_STATUS, UPGRADE_PLUGIN_ASYNC, UPGRADE_PLUGIN_ENABLE, UPGRADE_PLUGIN_EXECUTE_ONCE_PARAMETER, UPGRADE_PLUGIN_EXECUTION_ORDER, UPGRADE_PLUGIN_TARGET_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description NodeTypeTemplateUpgradePlugin(org.exoplatform.services.cms.templates.TemplateService templateService, org.exoplatform.commons.info.ProductInformations productInformations, org.exoplatform.container.xml.InitParams initParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessUpgrade(String oldVersion, String newVersion)booleanshouldProceedToUpgrade(String newVersion, String previousVersion)-
Methods inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin
afterUpgrade, beforeUpgrade, equals, getPluginExecutionOrder, getProductGroupId, getTargetVersion, getValue, hashCode, isAsyncUpgradeExecution, isEnabled, isExecuteOnlyOnce, shouldProceedToUpgrade, storeValueForPlugin
-
-