Liferay 7.0-ce-a3

com.liferay.portal.kernel.dao.db
Class BaseDBProcess

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
All Implemented Interfaces:
DBProcess
Direct Known Subclasses:
UpgradeProcess, VerifyProcess

public abstract class BaseDBProcess
extends Object
implements DBProcess


Field Summary
protected  Connection connection
           
 
Constructor Summary
BaseDBProcess()
           
 
Method Summary
 void runSQL(Connection connection, String template)
           
 void runSQL(String template)
           
 void runSQL(String[] templates)
           
 void runSQLTemplate(String path)
           
 void runSQLTemplate(String path, boolean failOnError)
           
 void runSQLTemplateString(String template, boolean evaluate, boolean failOnError)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connection

protected Connection connection
Constructor Detail

BaseDBProcess

public BaseDBProcess()
Method Detail

runSQL

public void runSQL(Connection connection,
                   String template)
            throws IOException,
                   SQLException
Specified by:
runSQL in interface DBProcess
Throws:
IOException
SQLException

runSQL

public void runSQL(String template)
            throws IOException,
                   SQLException
Specified by:
runSQL in interface DBProcess
Throws:
IOException
SQLException

runSQL

public void runSQL(String[] templates)
            throws IOException,
                   SQLException
Specified by:
runSQL in interface DBProcess
Throws:
IOException
SQLException

runSQLTemplate

public void runSQLTemplate(String path)
                    throws IOException,
                           NamingException,
                           SQLException
Specified by:
runSQLTemplate in interface DBProcess
Throws:
IOException
NamingException
SQLException

runSQLTemplate

public void runSQLTemplate(String path,
                           boolean failOnError)
                    throws IOException,
                           NamingException,
                           SQLException
Specified by:
runSQLTemplate in interface DBProcess
Throws:
IOException
NamingException
SQLException

runSQLTemplateString

public void runSQLTemplateString(String template,
                                 boolean evaluate,
                                 boolean failOnError)
                          throws IOException,
                                 NamingException,
                                 SQLException
Specified by:
runSQLTemplateString in interface DBProcess
Throws:
IOException
NamingException
SQLException

Liferay 7.0-ce-a3