public final class CmsSqlConsoleExecutor extends java.lang.Object
| Constructor and Description |
|---|
CmsSqlConsoleExecutor()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CmsSqlConsoleResults |
execute(java.lang.String sql,
java.lang.String pool,
I_CmsReport report,
java.util.List<java.lang.Throwable> errors)
Main method of this class.
|
public CmsSqlConsoleExecutor()
public CmsSqlConsoleResults execute(java.lang.String sql, java.lang.String pool, I_CmsReport report, java.util.List<java.lang.Throwable> errors)
This method also checks the permissions for executing sql sentences,
according to the vfs-doctor.xml configuration file.
sql - the sql query to executepool - name of the db pool to usereport - the report to write the outputerrors - a list to append errors toList if the sql is a SELECT sentence, or null.