Package bpmn.handler.sql_handler
Class SqlHandler
java.lang.Object
service.sql.SqlExecutorServiceImpl
bpmn.handler.sql_handler.SqlHandler
- All Implemented Interfaces:
TaskHandler
,FormPostActionHandler
,SqlExecutorService
- Direct Known Subclasses:
ListSqlHandler
public class SqlHandler
extends SqlExecutorServiceImpl
implements FormPostActionHandler, TaskHandler
- Author:
- Tim Urmancheev
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class service.sql.SqlExecutorServiceImpl
datasourceJndiName, executionContextHelper
Fields inherited from interface ru.cg.webbpm.modules.bpmn.beans.handler.TaskHandler
contextLocal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
List<?>
executeInsert
(SQLParameters parameters) List<?>
executeSelect
(SQLParameters parameters) List<?>
executeUnknownQuery
(SQLParameters parameters) void
postAction
(Map<EntityColumn, Object> dataMap) protected void
saveResults
(List<?> results) Methods inherited from class service.sql.SqlExecutorServiceImpl
executeDelete, executeSelectList, executeSql, executeUpdate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ru.cg.webbpm.modules.bpmn.beans.handler.TaskHandler
clearContext, getContext, setContext
-
Field Details
-
sql
-
parameterVariables
-
resultVariables
-
-
Constructor Details
-
SqlHandler
-
-
Method Details
-
postAction
- Specified by:
postAction
in interfaceFormPostActionHandler
- Throws:
Exception
-
executeHandler
- Specified by:
executeHandler
in interfaceTaskHandler
- Throws:
Exception
-
executeSelect
- Specified by:
executeSelect
in interfaceSqlExecutorService
- Overrides:
executeSelect
in classSqlExecutorServiceImpl
-
executeInsert
- Specified by:
executeInsert
in interfaceSqlExecutorService
- Overrides:
executeInsert
in classSqlExecutorServiceImpl
- Throws:
SQLException
-
executeUnknownQuery
- Specified by:
executeUnknownQuery
in interfaceSqlExecutorService
- Overrides:
executeUnknownQuery
in classSqlExecutorServiceImpl
- Throws:
SQLException
-
saveResults
-