org.exoplatform.ecms.upgrade.views
Class SiteExplorerTemplateUpgradePlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.upgrade.UpgradeProductPlugin
org.exoplatform.ecms.upgrade.views.SiteExplorerTemplateUpgradePlugin
- All Implemented Interfaces:
- Comparable<org.exoplatform.commons.upgrade.UpgradeProductPlugin>, org.exoplatform.container.component.ComponentPlugin
public class SiteExplorerTemplateUpgradePlugin
- extends org.exoplatform.commons.upgrade.UpgradeProductPlugin
Created by The eXo Platform SAS
Author : Nguyen Anh Vu
vuna@exoplatform.com
Feb 24, 2012
This class will be used to upgrade pre-defined templates of Site Explorer. Templates with desire of manual upgration
can be specified in file configuration.properties.
Syntax :
unchanged-site-explorer-templates=
For examples :
unchanged-site-explorer-templates=ThumbnailsView, ContentView
| Fields inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin |
productGroupId |
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
|
Constructor Summary |
SiteExplorerTemplateUpgradePlugin(org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.services.jcr.RepositoryService repoService,
org.exoplatform.services.cms.impl.DMSConfiguration dmsConfiguration,
org.exoplatform.services.cms.views.ManageViewService manageViewService,
org.exoplatform.container.xml.InitParams initParams)
|
| Methods inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin |
addNodeVersion, compareTo, equals, getPluginExecutionOrder, getProductGroupId, hashCode, isEnabled |
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
getDescription, getName, setDescription, setName |
SiteExplorerTemplateUpgradePlugin
public SiteExplorerTemplateUpgradePlugin(org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.services.jcr.RepositoryService repoService,
org.exoplatform.services.cms.impl.DMSConfiguration dmsConfiguration,
org.exoplatform.services.cms.views.ManageViewService manageViewService,
org.exoplatform.container.xml.InitParams initParams)
processUpgrade
public void processUpgrade(String oldVersion,
String newVersion)
- Specified by:
processUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPlugin
shouldProceedToUpgrade
public boolean shouldProceedToUpgrade(String previousVersion,
String newVersion)
- Specified by:
shouldProceedToUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPlugin
Copyright © 2013 eXo Platform SAS. All Rights Reserved.