com.liferay.portal.convert
Class ConvertDatabase
java.lang.Object
com.liferay.portal.convert.BaseConvertProcess
com.liferay.portal.convert.ConvertDatabase
- All Implemented Interfaces:
- ConvertProcess
public class ConvertDatabase
- extends BaseConvertProcess
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertDatabase
public ConvertDatabase()
getDescription
public String getDescription()
- Specified by:
getDescription in interface ConvertProcess- Specified by:
getDescription in class BaseConvertProcess
getParameterDescription
public String getParameterDescription()
- Specified by:
getParameterDescription in interface ConvertProcess- Overrides:
getParameterDescription in class BaseConvertProcess
getParameterNames
public String[] getParameterNames()
- Specified by:
getParameterNames in interface ConvertProcess- Overrides:
getParameterNames in class BaseConvertProcess
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in interface ConvertProcess- Specified by:
isEnabled in class BaseConvertProcess
doConvert
protected void doConvert()
throws Exception
- Specified by:
doConvert in class BaseConvertProcess
- Throws:
Exception
getDataSource
protected DataSource getDataSource()
throws Exception
- Throws:
Exception
getImplClass
protected 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