public class ExecuteSQL extends java.lang.Object implements InstallationCall
Constructor and Description |
---|
ExecuteSQL() |
Modifier and Type | Method and Description |
---|---|
boolean |
call(Setup setup,
java.io.File zip,
java.lang.String param) |
static void |
clearHashById(java.lang.String hashid) |
static void |
executeSqlComands(java.sql.Connection con,
java.lang.String[] lines,
java.lang.String midStr) |
static java.util.List<java.lang.String> |
getQueryHashes(java.sql.Connection con,
java.lang.String mid) |
void |
setId(java.lang.String newid) |
static void |
tryExecuteBlock(java.sql.Connection con,
java.util.List<java.lang.String> linesBlock,
java.util.List<java.lang.String> hashes,
java.sql.Statement st) |
static void |
updateHashes(java.sql.Connection con,
java.lang.String versions,
java.lang.String mid) |
public boolean call(Setup setup, java.io.File zip, java.lang.String param)
call
in interface InstallationCall
public void setId(java.lang.String newid)
public static void executeSqlComands(java.sql.Connection con, java.lang.String[] lines, java.lang.String midStr) throws java.sql.SQLException
java.sql.SQLException
public static void tryExecuteBlock(java.sql.Connection con, java.util.List<java.lang.String> linesBlock, java.util.List<java.lang.String> hashes, java.sql.Statement st)
public static java.util.List<java.lang.String> getQueryHashes(java.sql.Connection con, java.lang.String mid) throws java.sql.SQLException
java.sql.SQLException
public static void updateHashes(java.sql.Connection con, java.lang.String versions, java.lang.String mid) throws java.sql.SQLException
java.sql.SQLException
public static void clearHashById(java.lang.String hashid)