com.liferay.portal.upgrade.v6_2_0
Class UpgradeDynamicDataMapping
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v6_2_0.UpgradeDynamicDataMapping
- All Implemented Interfaces:
- DBProcess
public class UpgradeDynamicDataMapping
- extends UpgradeProcess
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 |
UpgradeDynamicDataMapping
public UpgradeDynamicDataMapping()
doUpgrade
protected void doUpgrade()
throws Exception
- Overrides:
doUpgrade
in class UpgradeProcess
- Throws:
Exception
updateMetadataElement
protected void updateMetadataElement(Element metadataElement,
String[] relocatedMetadadaEntryNames,
String[] removedMetadataEntryNames)
updateStructure
protected void updateStructure(long structureId,
String structureKey,
String xsd)
throws Exception
- Throws:
Exception
updateStructures
protected void updateStructures()
throws Exception
- Throws:
Exception
updateTemplate
protected void updateTemplate(long templateId,
String templateKey,
String script)
throws Exception
- Throws:
Exception
updateTemplates
protected void updateTemplates()
throws Exception
- Throws:
Exception
updateXSD
protected String updateXSD(String xsd)
throws Exception
- Throws:
Exception
updateXSDDynamicElement
protected void updateXSDDynamicElement(Element element)