Class ContentArticlePropertiesUpgrade

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.upgrade.UpgradeProductPlugin
org.exoplatform.news.upgrade.ContentArticlePropertiesUpgrade
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class ContentArticlePropertiesUpgrade extends org.exoplatform.commons.upgrade.UpgradeProductPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     

    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_PARAMETER

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    ContentArticlePropertiesUpgrade(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.wiki.service.NoteService noteService, org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.portal.config.UserACL userACL, org.exoplatform.commons.api.settings.SettingService settingService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processUpgrade(String oldVersion, String newVersion)
     
    boolean
    shouldProceedToUpgrade(String newVersion, String previousGroupVersion)
     

    Methods inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin

    afterUpgrade, beforeUpgrade, equals, getPluginExecutionOrder, getProductGroupId, getTargetVersion, getValue, hashCode, isAsyncUpgradeExecution, isEnabled, isExecuteOnlyOnce, shouldProceedToUpgrade, storeValueForPlugin

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ContentArticlePropertiesUpgrade

      public ContentArticlePropertiesUpgrade(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.wiki.service.NoteService noteService, org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.portal.config.UserACL userACL, org.exoplatform.commons.api.settings.SettingService settingService)
  • Method Details

    • 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 previousGroupVersion)
      Overrides:
      shouldProceedToUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPlugin