Package org.exoplatform.news.upgrade.jcr
Class ArticleImagesPermissionsUpgradePlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.upgrade.UpgradeProductPlugin
org.exoplatform.news.upgrade.jcr.ArticleImagesPermissionsUpgradePlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class ArticleImagesPermissionsUpgradePlugin
extends org.exoplatform.commons.upgrade.UpgradeProductPlugin
-
Field Summary
Fields inherited from class 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_PARAMETERFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionArticleImagesPermissionsUpgradePlugin(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.commons.persistence.impl.EntityManagerService entityManagerService, org.exoplatform.wiki.service.NoteService noteService, org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.container.PortalContainer container) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhasAnyPermissions(org.exoplatform.services.jcr.core.ExtendedNode attachmentNode) voidprocessUpgrade(String oldVersion, String newVersion) Methods inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin
afterUpgrade, beforeUpgrade, equals, getPluginExecutionOrder, getProductGroupId, getTargetVersion, getValue, hashCode, isAsyncUpgradeExecution, isEnabled, isExecuteOnlyOnce, shouldProceedToUpgrade, shouldProceedToUpgrade, storeValueForPluginMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
ArticleImagesPermissionsUpgradePlugin
public ArticleImagesPermissionsUpgradePlugin(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.commons.persistence.impl.EntityManagerService entityManagerService, org.exoplatform.wiki.service.NoteService noteService, org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.container.PortalContainer container)
-
-
Method Details
-
hasAnyPermissions
public static boolean hasAnyPermissions(org.exoplatform.services.jcr.core.ExtendedNode attachmentNode) throws javax.jcr.RepositoryException - Throws:
javax.jcr.RepositoryException
-
processUpgrade
- Specified by:
processUpgradein classorg.exoplatform.commons.upgrade.UpgradeProductPlugin
-