Liferay 6.2-ce-ga5

com.liferay.portal.upgrade.v6_2_0
Class UpgradeDynamicDataMapping

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.v6_2_0.UpgradeDynamicDataMapping
All Implemented Interfaces:
DBProcess

public class UpgradeDynamicDataMapping
extends UpgradeProcess


Constructor Summary
UpgradeDynamicDataMapping()
           
 
Method Summary
protected  void doUpgrade()
           
protected  void updateMetadataElement(Element metadataElement, String[] relocatedMetadadaEntryNames, String[] removedMetadataEntryNames)
           
protected  void updateStructure(long structureId, String structureKey, String xsd)
           
protected  void updateStructures()
           
protected  void updateTemplate(long templateId, String templateKey, String script)
           
protected  void updateTemplates()
           
protected  String updateXSD(String xsd)
           
protected  void updateXSDDynamicElement(Element element)
           
 
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 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

UpgradeDynamicDataMapping

public UpgradeDynamicDataMapping()
Method Detail

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)

Liferay 6.2-ce-ga5