Liferay 6.1.2-ce-ga3

com.liferay.portal.upgrade.v5_2_0
Class UpgradeTags

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
          extended by com.liferay.portal.upgrade.v5_2_0.UpgradeTags
All Implemented Interfaces:
DBProcess

public class UpgradeTags
extends UpgradeProcess


Constructor Summary
UpgradeTags()
           
 
Method Summary
protected  void addEntry(long entryId, long groupId, long companyId, long userId, String userName, Timestamp createDate, Timestamp modifiedDate, long parentEntryId, String name, long vocabularyId)
           
protected  void addProperty(long propertyId, long companyId, long userId, String userName, Timestamp createDate, Timestamp modifiedDate, long entryId, String key, String value)
           
protected  void addResource(long resourceCodeId, String primKey)
           
protected  void addResourceCode(long resourceCodeId, long companyId, String resourceName)
           
protected  void addResourcePermission(long companyId, long roleId, String resourceName, String primKey)
           
protected  void addResources(long companyId, String resourceName, String primKey)
           
protected  long addVocabulary(long vocabularyId, long groupId, long companyId, long userId, String userName, String name)
           
protected  long copyEntry(long groupId, long entryId)
           
protected  void copyProperties(long entryId, long newEntryId)
           
protected  void deleteEntries()
           
protected  void doUpgrade()
           
protected  long getVocabularyId(long groupId, long companyId, long userId, String userName, String name)
           
protected  void updateAssets()
           
protected  void updateCategories()
           
protected  void updateGroupIds()
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate
 
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

addEntry

protected void addEntry(long entryId,
                        long groupId,
                        long companyId,
                        long userId,
                        String userName,
                        Timestamp createDate,
                        Timestamp modifiedDate,
                        long parentEntryId,
                        String name,
                        long vocabularyId)
                 throws Exception
Throws:
Exception

addProperty

protected void addProperty(long propertyId,
                           long companyId,
                           long userId,
                           String userName,
                           Timestamp createDate,
                           Timestamp modifiedDate,
                           long entryId,
                           String key,
                           String value)
                    throws Exception
Throws:
Exception

addResource

protected void addResource(long resourceCodeId,
                           String primKey)
                    throws Exception
Throws:
Exception

addResourceCode

protected void addResourceCode(long resourceCodeId,
                               long companyId,
                               String resourceName)
                        throws Exception
Throws:
Exception

addResourcePermission

protected void addResourcePermission(long companyId,
                                     long roleId,
                                     String resourceName,
                                     String primKey)
                              throws Exception
Throws:
Exception

addResources

protected void addResources(long companyId,
                            String resourceName,
                            String primKey)
                     throws Exception
Throws:
Exception

addVocabulary

protected long addVocabulary(long vocabularyId,
                             long groupId,
                             long companyId,
                             long userId,
                             String userName,
                             String name)
                      throws Exception
Throws:
Exception

copyEntry

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

copyProperties

protected void copyProperties(long entryId,
                              long newEntryId)
                       throws Exception
Throws:
Exception

deleteEntries

protected void deleteEntries()
                      throws Exception
Throws:
Exception

doUpgrade

protected void doUpgrade()
                  throws Exception
Overrides:
doUpgrade in class UpgradeProcess
Throws:
Exception

getVocabularyId

protected long getVocabularyId(long groupId,
                               long companyId,
                               long userId,
                               String userName,
                               String name)
                        throws Exception
Throws:
Exception

updateAssets

protected void updateAssets()
                     throws Exception
Throws:
Exception

updateCategories

protected void updateCategories()
                         throws Exception
Throws:
Exception

updateGroupIds

protected void updateGroupIds()
                       throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3