Liferay 6.0.5

com.liferay.portal.convert
Class ConvertDatabase

java.lang.Object
  extended by com.liferay.portal.convert.ConvertProcess
      extended by com.liferay.portal.convert.ConvertDatabase

public class ConvertDatabase
extends ConvertProcess


Constructor Summary
ConvertDatabase()
           
 
Method Summary
protected  void doConvert()
           
protected  DataSource getDataSource()
           
 String getDescription()
           
 Class<?> getImplClass(String implClassName)
           
 String getParameterDescription()
           
 String[] getParameterNames()
           
protected  Tuple getTableDetails(Class<?> implClass, Field tableField, String tableFieldVar)
           
 boolean isEnabled()
           
protected  void migrateTable(DB db, Connection connection, String tableName, Object[][] columns, String sqlCreate)
           
 
Methods inherited from class com.liferay.portal.convert.ConvertProcess
convert, getParameterValues, getPath, setParameterValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertDatabase

public ConvertDatabase()
Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in class ConvertProcess

getParameterDescription

public String getParameterDescription()
Overrides:
getParameterDescription in class ConvertProcess

getParameterNames

public String[] getParameterNames()
Overrides:
getParameterNames in class ConvertProcess

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in class ConvertProcess

doConvert

protected void doConvert()
                  throws Exception
Specified by:
doConvert in class ConvertProcess
Throws:
Exception

getDataSource

protected DataSource getDataSource()
                            throws Exception
Throws:
Exception

getImplClass

public Class<?> getImplClass(String implClassName)
                      throws Exception
Throws:
Exception

getTableDetails

protected Tuple getTableDetails(Class<?> implClass,
                                Field tableField,
                                String tableFieldVar)

migrateTable

protected void migrateTable(DB db,
                            Connection connection,
                            String tableName,
                            Object[][] columns,
                            String sqlCreate)
                     throws Exception
Throws:
Exception

Liferay 6.0.5