public abstract class ModuleCommand<QUERY extends ModuleQuery,RESULT> extends java.lang.Object implements Command<RESULT>
| Modifier and Type | Field and Description |
|---|---|
protected QUERY |
query |
protected CallableSql |
sql |
| Modifier | Constructor and Description |
|---|---|
protected |
ModuleCommand(QUERY query) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindParameters(java.sql.CallableStatement callableStatement) |
RESULT |
execute() |
protected abstract RESULT |
executeInternal(java.sql.CallableStatement callableStatement) |
protected void |
fetchParameters(java.sql.CallableStatement callableStatement) |
QUERY |
getQuery() |
protected void |
log() |
protected void |
setupOptions(java.sql.CallableStatement preparedStatement) |
protected final QUERY extends ModuleQuery query
protected final CallableSql sql
protected ModuleCommand(QUERY query)
protected abstract RESULT executeInternal(java.sql.CallableStatement callableStatement) throws java.sql.SQLException
java.sql.SQLExceptionprotected void setupOptions(java.sql.CallableStatement preparedStatement)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void bindParameters(java.sql.CallableStatement callableStatement)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void fetchParameters(java.sql.CallableStatement callableStatement)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void log()