public class SiteDataUpgradePlugin
extends 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 and Description |
|---|
SiteDataUpgradePlugin(org.exoplatform.services.wcm.core.WCMConfigurationService wcmConfigService,
org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMixin(javax.jcr.Node node,
String mixin) |
void |
processUpgrade(String oldVersion,
String newVersion) |
boolean |
shouldProceedToUpgrade(String newVersion,
String previousVersion) |
addNodeVersion, afterUpgrade, beforeUpgrade, equals, getOldProductGroupId, getPluginExecutionOrder, getProductGroupId, getTargetVersion, getValue, hashCode, isAsyncUpgradeExecution, isEnabled, isExecuteOnlyOnce, shouldProceedToUpgrade, storeValueForPluginpublic SiteDataUpgradePlugin(org.exoplatform.services.wcm.core.WCMConfigurationService wcmConfigService,
org.exoplatform.container.xml.InitParams initParams)
public boolean shouldProceedToUpgrade(String newVersion, String previousVersion)
shouldProceedToUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPluginpublic void processUpgrade(String oldVersion, String newVersion)
processUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPluginprotected void addMixin(javax.jcr.Node node,
String mixin)
throws javax.jcr.nodetype.NoSuchNodeTypeException,
javax.jcr.version.VersionException,
javax.jcr.nodetype.ConstraintViolationException,
javax.jcr.lock.LockException,
javax.jcr.RepositoryException
javax.jcr.nodetype.NoSuchNodeTypeExceptionjavax.jcr.version.VersionExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.lock.LockExceptionjavax.jcr.RepositoryExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.