org.exoplatform.platform.upgrade.plugins
Class UpgradeLocalGadgetsPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.upgrade.UpgradeProductPlugin
org.exoplatform.platform.upgrade.plugins.UpgradeLocalGadgetsPlugin
- All Implemented Interfaces:
- Comparable<org.exoplatform.commons.upgrade.UpgradeProductPlugin>, org.exoplatform.container.component.ComponentPlugin
public class UpgradeLocalGadgetsPlugin
- extends org.exoplatform.commons.upgrade.UpgradeProductPlugin
| Fields inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin |
oldProductGroupId, productGroupId |
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
|
Constructor Summary |
UpgradeLocalGadgetsPlugin(org.exoplatform.container.configuration.ConfigurationManager configurationManager,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.application.gadget.SourceStorage sourceStorage,
org.exoplatform.application.gadget.GadgetRegistryService gadgetRegistryService,
org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.commons.chromattic.ChromatticManager chromatticManager)
|
| Methods inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin |
addNodeVersion, compareTo, equals, getOldProductGroupId, getPluginExecutionOrder, getProductGroupId, hashCode, isEnabled |
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
getDescription, getName, setDescription, setName |
repositoryService
protected org.exoplatform.services.jcr.RepositoryService repositoryService
configurationManager
protected org.exoplatform.container.configuration.ConfigurationManager configurationManager
sourceStorage
protected org.exoplatform.application.gadget.SourceStorage sourceStorage
gadgetRegistryService
protected org.exoplatform.application.gadget.impl.GadgetRegistryServiceImpl gadgetRegistryService
UpgradeLocalGadgetsPlugin
public UpgradeLocalGadgetsPlugin(org.exoplatform.container.configuration.ConfigurationManager configurationManager,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.application.gadget.SourceStorage sourceStorage,
org.exoplatform.application.gadget.GadgetRegistryService gadgetRegistryService,
org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.commons.chromattic.ChromatticManager chromatticManager)
processUpgrade
public void processUpgrade(String oldVersion,
String newVersion)
- Specified by:
processUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPlugin
shouldProceedToUpgrade
public boolean shouldProceedToUpgrade(String newVersion,
String previousVersion)
- Specified by:
shouldProceedToUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPlugin
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.