com.liferay.portal.upgrade.v7_0_0
Class UpgradeDynamicDataLists
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v7_0_0.UpgradeDynamicDataLists
- All Implemented Interfaces:
- DBProcess
public class UpgradeDynamicDataLists
- extends UpgradeProcess
|
Method Summary |
protected void |
addDDMContent(String uuid_,
long contentId,
long groupId,
long companyId,
long userId,
String userName,
Timestamp createDate,
Timestamp modifiedDate,
String name,
String description,
String xml)
|
protected void |
addDynamicContentElements(Element dynamicElementElement,
String name,
String data)
|
protected void |
deleteExpandoData(Set<Long> expandoRowIds)
|
protected void |
doUpgrade()
|
protected String |
getExpandoRowIds(Set<Long> expandoRowIds)
|
protected Map<String,String> |
getExpandoValuesMap(long expandoRowId)
|
protected String |
getUpgradeRecordVersionsSQL()
|
protected void |
setUpClassNameIds()
|
protected String |
toXML(Map<String,String> expandoValuesMap)
|
protected void |
updateDDMStorageLink(long oldClassNameId,
long oldClassPK,
long newClassNameId,
long newClassPK)
|
protected void |
updateDDMStructureStorageType()
|
protected void |
updateRecordDDMStorageId(long recordId,
String version,
long ddmContentId)
|
protected void |
updateRecordVersionDDMStorageId(long recordVersionId,
long DDMStorageId)
|
protected void |
upgradeRecordVersions()
|
| Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
doHasTable, getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgradeTable, upgradeTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeDynamicDataLists
public UpgradeDynamicDataLists()
addDDMContent
protected void addDDMContent(String uuid_,
long contentId,
long groupId,
long companyId,
long userId,
String userName,
Timestamp createDate,
Timestamp modifiedDate,
String name,
String description,
String xml)
throws Exception
- Throws:
Exception
addDynamicContentElements
protected void addDynamicContentElements(Element dynamicElementElement,
String name,
String data)
deleteExpandoData
protected void deleteExpandoData(Set<Long> expandoRowIds)
throws Exception
- Throws:
Exception
doUpgrade
protected void doUpgrade()
throws Exception
- Overrides:
doUpgrade in class UpgradeProcess
- Throws:
Exception
getExpandoRowIds
protected String getExpandoRowIds(Set<Long> expandoRowIds)
getExpandoValuesMap
protected Map<String,String> getExpandoValuesMap(long expandoRowId)
throws Exception
- Throws:
Exception
getUpgradeRecordVersionsSQL
protected String getUpgradeRecordVersionsSQL()
setUpClassNameIds
protected void setUpClassNameIds()
toXML
protected String toXML(Map<String,String> expandoValuesMap)
updateDDMStorageLink
protected void updateDDMStorageLink(long oldClassNameId,
long oldClassPK,
long newClassNameId,
long newClassPK)
throws Exception
- Throws:
Exception
updateDDMStructureStorageType
protected void updateDDMStructureStorageType()
throws Exception
- Throws:
Exception
updateRecordDDMStorageId
protected void updateRecordDDMStorageId(long recordId,
String version,
long ddmContentId)
throws Exception
- Throws:
Exception
updateRecordVersionDDMStorageId
protected void updateRecordVersionDDMStorageId(long recordVersionId,
long DDMStorageId)
throws Exception
- Throws:
Exception
upgradeRecordVersions
protected void upgradeRecordVersions()
throws Exception
- Throws:
Exception