public class DeleteJCRFolderUpgradePlugin extends UpgradeProductPlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
FOLDER_TO_DELETE_PATH |
static String |
FOLDER_TO_DELETE_WORKSPACE |
protected static long |
ONE_DAY_IN_MS |
protected static int |
ONE_DAY_IN_SECONDS |
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 |
|---|
DeleteJCRFolderUpgradePlugin(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.transaction.TransactionService transactionService,
org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
void |
processUpgrade(String oldVersion,
String newVersion)
Proceed to the transparent upgrade, this method will be called if the
Product version has changed, which means, it will be called once the
Product Version stored in the JCR and the one declared in ProductInfo are
different
|
addNodeVersion, afterUpgrade, beforeUpgrade, equals, getOldProductGroupId, getPluginExecutionOrder, getProductGroupId, getTargetVersion, getValue, hashCode, isAsyncUpgradeExecution, isEnabled, isExecuteOnlyOnce, shouldProceedToUpgrade, shouldProceedToUpgrade, storeValueForPluginprotected static final int ONE_DAY_IN_SECONDS
protected static final long ONE_DAY_IN_MS
public static final String FOLDER_TO_DELETE_WORKSPACE
public static final String FOLDER_TO_DELETE_PATH
public DeleteJCRFolderUpgradePlugin(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.transaction.TransactionService transactionService,
org.exoplatform.container.xml.InitParams initParams)
public void processUpgrade(String oldVersion, String newVersion)
UpgradeProductPluginprocessUpgrade in class UpgradeProductPluginoldVersion - the old version that is stored in the JCRnewVersion - the new version read from ProductInfo ServiceCopyright © 2003–2018 eXo Platform SAS. All rights reserved.