com.liferay.portal.upgrade.v5_2_0
Class UpgradeTags

java.lang.Object
  extended by com.liferay.portal.upgrade.UpgradeProcess
      extended by com.liferay.portal.upgrade.v5_2_0.UpgradeTags

public class UpgradeTags
extends UpgradeProcess

View Source

Author:
Jorge Ferrer, Brian Wing Shun Chan

Constructor Summary
UpgradeTags()
           
 
Method Summary
protected  long copyEntry(long groupId, long entryId)
           
 void copyProperties(long entryId, long newEntryId)
           
protected  void deleteEntries()
           
protected  long getVocabularyId(long userId, long groupId, java.lang.String vocabularyName)
           
protected  void updateAssets()
           
protected  void updateCategories()
           
protected  void updateGroupIds()
           
 void upgrade()
           
 
Methods inherited from class com.liferay.portal.upgrade.UpgradeProcess
getThreshold, runSQL, runSQL, runSQLTemplate, runSQLTemplate, upgrade, upgrade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeTags

public UpgradeTags()
Method Detail

upgrade

public void upgrade()
             throws UpgradeException
Specified by:
upgrade in class UpgradeProcess
Throws:
UpgradeException

copyEntry

protected long copyEntry(long groupId,
                         long entryId)
                  throws java.lang.Exception
Throws:
java.lang.Exception

copyProperties

public void copyProperties(long entryId,
                           long newEntryId)
                    throws java.lang.Exception
Throws:
java.lang.Exception

deleteEntries

protected void deleteEntries()
                      throws java.lang.Exception
Throws:
java.lang.Exception

getVocabularyId

protected long getVocabularyId(long userId,
                               long groupId,
                               java.lang.String vocabularyName)
                        throws java.lang.Exception
Throws:
java.lang.Exception

updateAssets

protected void updateAssets()
                     throws java.lang.Exception
Throws:
java.lang.Exception

updateCategories

protected void updateCategories()
                         throws java.lang.Exception
Throws:
java.lang.Exception

updateGroupIds

protected void updateGroupIds()
                       throws java.lang.Exception
Throws:
java.lang.Exception