Liferay 7.0-ce-b4

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, UpgradeStep

public class UpgradeDynamicDataMapping
extends UpgradeProcess


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
 
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, String structureKey)
           
protected  void updateXSDDynamicElement(Element element, String structureKey)
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
getThreshold, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
doHasTable, hasColumn, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
 
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
Specified by:
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,
                           String structureKey)
                    throws Exception
Throws:
Exception

updateXSDDynamicElement

protected void updateXSDDynamicElement(Element element,
                                       String structureKey)

Liferay 7.0-ce-b4