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 java.lang.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(java.lang.String statement, java.lang.Object parameter, java.lang.Class<T> clazz)
<T> java.util.List<T>
executeQuery(java.lang.String statement, QueryParameters<T> parameter)
java.lang.Long
executeQueryRowCount(java.lang.String statement, ListQueryParameterObject parameter)
protected ProcessEngineConfigurationImpl
getProcessEngineConfiguration(CommandContext commandContext)
-
-
-
Constructor Detail
-
QueryServiceImpl
public QueryServiceImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
executeQuery
public <T> java.util.List<T> executeQuery(java.lang.String statement, QueryParameters<T> parameter)
- Specified by:
executeQuery
in interfaceQueryService
-
executeQuery
public <T> T executeQuery(java.lang.String statement, java.lang.Object parameter, java.lang.Class<T> clazz)
- Specified by:
executeQuery
in interfaceQueryService
-
executeQueryRowCount
public java.lang.Long executeQueryRowCount(java.lang.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)
-
-