org.exoplatform.platform.upgrade.plugins
Class UpgradeProductInfoNodePlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.upgrade.UpgradeProductPlugin
org.exoplatform.platform.upgrade.plugins.UpgradeProductInfoNodePlugin
- All Implemented Interfaces:
- Comparable<org.exoplatform.commons.upgrade.UpgradeProductPlugin>, org.exoplatform.container.component.ComponentPlugin
public class UpgradeProductInfoNodePlugin
- extends org.exoplatform.commons.upgrade.UpgradeProductPlugin
Created by The eXo Platform SAS
Author : eXoPlatform
exo@exoplatform.com
May 22, 2014
This plugin remove any:read permission from node
/Application Data/ProductInformationsService/productVersionDeclarationNode
and allow only __system and administrators to access this node
| Fields inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin |
oldProductGroupId, productGroupId |
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
|
Constructor Summary |
UpgradeProductInfoNodePlugin(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.services.jcr.RepositoryService repoService,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.portal.config.UserACL userAcl)
|
| 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 |
UpgradeProductInfoNodePlugin
public UpgradeProductInfoNodePlugin(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.services.jcr.RepositoryService repoService,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.portal.config.UserACL userAcl)
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–2014 eXo Platform SAS. All rights reserved.