com.liferay.portal.upgrade.v5_2_0
Class UpgradeTags
java.lang.Object
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v5_2_0.UpgradeTags
public class UpgradeTags
- extends com.liferay.portal.kernel.upgrade.UpgradeProcess
View Source
- Author:
- Jorge Ferrer, Brian Wing Shun Chan
Method Summary |
protected void |
addEntry(long entryId,
long groupId,
long companyId,
long userId,
java.lang.String userName,
java.sql.Timestamp createDate,
java.sql.Timestamp modifiedDate,
long parentEntryId,
java.lang.String name,
long vocabularyId)
|
protected void |
addProperty(long propertyId,
long companyId,
long userId,
java.lang.String userName,
java.sql.Timestamp createDate,
java.sql.Timestamp modifiedDate,
long entryId,
java.lang.String key,
java.lang.String value)
|
protected long |
addVocabulary(long groupId,
long companyId,
long userId,
java.lang.String userName,
java.lang.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,
java.lang.String userName,
java.lang.String name)
|
protected void |
updateAssets()
|
protected void |
updateCategories()
|
protected void |
updateGroupIds()
|
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
getThreshold, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, runSQL, runSQL, runSQLTemplate, runSQLTemplate, upgrade, upgrade, upgrade |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeTags
public UpgradeTags()
addEntry
protected void addEntry(long entryId,
long groupId,
long companyId,
long userId,
java.lang.String userName,
java.sql.Timestamp createDate,
java.sql.Timestamp modifiedDate,
long parentEntryId,
java.lang.String name,
long vocabularyId)
throws java.lang.Exception
- Throws:
java.lang.Exception
addProperty
protected void addProperty(long propertyId,
long companyId,
long userId,
java.lang.String userName,
java.sql.Timestamp createDate,
java.sql.Timestamp modifiedDate,
long entryId,
java.lang.String key,
java.lang.String value)
throws java.lang.Exception
- Throws:
java.lang.Exception
addVocabulary
protected long addVocabulary(long groupId,
long companyId,
long userId,
java.lang.String userName,
java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
copyEntry
protected long copyEntry(long groupId,
long entryId)
throws java.lang.Exception
- Throws:
java.lang.Exception
copyProperties
protected 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
doUpgrade
protected void doUpgrade()
throws java.lang.Exception
- Overrides:
doUpgrade
in class com.liferay.portal.kernel.upgrade.UpgradeProcess
- Throws:
java.lang.Exception
getVocabularyId
protected long getVocabularyId(long groupId,
long companyId,
long userId,
java.lang.String userName,
java.lang.String name)
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