com.liferay.portal.kernel.dao.db
Interface DBProcess

All Known Implementing Classes:
BaseDBProcess, BaseUpgradeAttachments, BaseUpgradePortletPreferences, CamelCaseUpgradePortletPreferences, RenameUpgradePortletPreferences, UpgradeProcess

public interface DBProcess

Author:
Hugo Huijser, Brian Wing Shun Chan

Method Summary
 void runSQL(java.lang.String template)
           
 void runSQL(java.lang.String[] templates)
           
 void runSQLTemplate(java.lang.String path)
           
 void runSQLTemplate(java.lang.String path, boolean failOnError)
           
 

Method Detail

runSQL

void runSQL(java.lang.String template)
            throws java.io.IOException,
                   java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

runSQL

void runSQL(java.lang.String[] templates)
            throws java.io.IOException,
                   java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

runSQLTemplate

void runSQLTemplate(java.lang.String path)
                    throws java.io.IOException,
                           javax.naming.NamingException,
                           java.sql.SQLException
Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException

runSQLTemplate

void runSQLTemplate(java.lang.String path,
                    boolean failOnError)
                    throws java.io.IOException,
                           javax.naming.NamingException,
                           java.sql.SQLException
Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException