org.exoplatform.ecms.upgrade.folksonomy
Class TagsUpgradePlugin

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.commons.upgrade.UpgradeProductPlugin
          extended by org.exoplatform.ecms.upgrade.folksonomy.TagsUpgradePlugin
All Implemented Interfaces:
Comparable<org.exoplatform.commons.upgrade.UpgradeProductPlugin>, org.exoplatform.container.component.ComponentPlugin

public class TagsUpgradePlugin
extends org.exoplatform.commons.upgrade.UpgradeProductPlugin

Created by The eXo Platform SAS Author : eXoPlatform vuna@exoplatform.com Mar 19, 2013


Field Summary
static String COLLABORATION
           
static String PUBLIC_TAG_NODE_PATH
           
 
Fields inherited from class org.exoplatform.commons.upgrade.UpgradeProductPlugin
oldProductGroupId, productGroupId
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
TagsUpgradePlugin(org.exoplatform.services.cms.folksonomy.NewFolksonomyService folksonomyService, org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeCreator, org.exoplatform.services.cms.link.LinkManager linkManager, org.exoplatform.container.xml.InitParams initParams)
           
 
Method Summary
 void processUpgrade(String oldVersion, String newVersion)
           
 boolean shouldProceedToUpgrade(String newVersion, String previousVersion)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PUBLIC_TAG_NODE_PATH

public static final String PUBLIC_TAG_NODE_PATH
See Also:
Constant Field Values

COLLABORATION

public static final String COLLABORATION
See Also:
Constant Field Values
Constructor Detail

TagsUpgradePlugin

public TagsUpgradePlugin(org.exoplatform.services.cms.folksonomy.NewFolksonomyService folksonomyService,
                         org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeCreator,
                         org.exoplatform.services.cms.link.LinkManager linkManager,
                         org.exoplatform.container.xml.InitParams initParams)
Method Detail

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-2013 eXo Platform SAS. All Rights Reserved.