Package org.camunda.bpm.cockpit.impl.db
Class QueryServiceImpl
- java.lang.Object
-
- org.camunda.bpm.cockpit.impl.db.QueryServiceImpl
-
- All Implemented Interfaces:
QueryService
public class QueryServiceImpl extends Object implements QueryService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
QueryServiceImpl.ExecuteListQueryCmd<T>
protected class
QueryServiceImpl.ExecuteSingleQueryCmd<T>
protected class
QueryServiceImpl.QueryServiceRowCountCmd
-
Constructor Summary
Constructors Constructor Description QueryServiceImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> void
configureAuthCheck(ListQueryParameterObject parameter, ProcessEngineConfigurationImpl engineConfig, CommandContext commandContext)
<T> T
executeQuery(String statement, Object parameter, Class<T> clazz)
<T> List<T>
executeQuery(String statement, QueryParameters parameter)
Long
executeQueryRowCount(String statement, ListQueryParameterObject parameter)
protected ProcessEngineConfigurationImpl
getProcessEngineConfiguration(CommandContext commandContext)
-
-
-
Constructor Detail
-
QueryServiceImpl
public QueryServiceImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
executeQuery
public <T> List<T> executeQuery(String statement, QueryParameters parameter)
- Specified by:
executeQuery
in interfaceQueryService
-
executeQuery
public <T> T executeQuery(String statement, Object parameter, Class<T> clazz)
- Specified by:
executeQuery
in interfaceQueryService
-
executeQueryRowCount
public Long executeQueryRowCount(String statement, ListQueryParameterObject parameter)
- Specified by:
executeQueryRowCount
in interfaceQueryService
-
getProcessEngineConfiguration
protected ProcessEngineConfigurationImpl getProcessEngineConfiguration(CommandContext commandContext)
-
configureAuthCheck
protected <T> void configureAuthCheck(ListQueryParameterObject parameter, ProcessEngineConfigurationImpl engineConfig, CommandContext commandContext)
-
-