Liferay 6.2-ce-ga5

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

public abstract class BaseDBProcess
extends Object
implements DBProcess


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

Constructor Detail

BaseDBProcess

public BaseDBProcess()
Method Detail

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

Liferay 6.2-ce-ga5