001
014
015 package com.liferay.portal.kernel.dao.db;
016
017 import java.io.IOException;
018
019 import java.sql.SQLException;
020
021 import javax.naming.NamingException;
022
023
027 public interface DBProcess {
028
029 public void runSQL(String template) throws IOException, SQLException;
030
031 public void runSQL(String[] templates) throws IOException, SQLException;
032
033 public void runSQLTemplate(String path)
034 throws IOException, NamingException, SQLException;
035
036 public void runSQLTemplate(String path, boolean failOnError)
037 throws IOException, NamingException, SQLException;
038
039 public void runSQLTemplateString(
040 String template, boolean evaluate, boolean failOnError)
041 throws IOException, NamingException, SQLException;
042
043 }