org.exoplatform.ecms.upgrade
Class UpgradeNodeTypesTemplatesService

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.commons.upgrade.UpgradeProductPlugin
          extended by org.exoplatform.ecms.upgrade.UpgradeNodeTypesTemplatesService
All Implemented Interfaces:
Comparable<org.exoplatform.commons.upgrade.UpgradeProductPlugin>, org.exoplatform.container.component.ComponentPlugin

public class UpgradeNodeTypesTemplatesService
extends org.exoplatform.commons.upgrade.UpgradeProductPlugin


Field Summary
 
Fields inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin
productGroupId
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
UpgradeNodeTypesTemplatesService(org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator, org.exoplatform.services.cms.impl.DMSConfiguration dmsConfiguration, org.exoplatform.services.cms.templates.TemplateService templateService, org.exoplatform.container.configuration.ConfigurationManager configurationManager, org.exoplatform.container.xml.InitParams initParams)
           
 
Method Summary
 void processUpgrade(String oldVersion, String newVersion)
           
 boolean shouldProceedToUpgrade(String previousVersion, String newVersion)
          
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeNodeTypesTemplatesService

public UpgradeNodeTypesTemplatesService(org.exoplatform.services.jcr.RepositoryService repositoryService,
                                        org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
                                        org.exoplatform.services.cms.impl.DMSConfiguration dmsConfiguration,
                                        org.exoplatform.services.cms.templates.TemplateService templateService,
                                        org.exoplatform.container.configuration.ConfigurationManager configurationManager,
                                        org.exoplatform.container.xml.InitParams initParams)
Method Detail

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.