public class QueryServiceImpl extends Object implements QueryService
Modifier and Type | Class and Description |
---|---|
protected class |
QueryServiceImpl.ExecuteListQueryCmd<T> |
protected class |
QueryServiceImpl.ExecuteSingleQueryCmd<T> |
protected class |
QueryServiceImpl.QueryServiceRowCountCmd |
Constructor and Description |
---|
QueryServiceImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and 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<T> parameter) |
Long |
executeQueryRowCount(String statement,
ListQueryParameterObject parameter) |
protected ProcessEngineConfigurationImpl |
getProcessEngineConfiguration(CommandContext commandContext) |
public QueryServiceImpl(CommandExecutor commandExecutor)
public <T> List<T> executeQuery(String statement, QueryParameters<T> parameter)
executeQuery
in interface QueryService
public <T> T executeQuery(String statement, Object parameter, Class<T> clazz)
executeQuery
in interface QueryService
public Long executeQueryRowCount(String statement, ListQueryParameterObject parameter)
executeQueryRowCount
in interface QueryService
protected ProcessEngineConfigurationImpl getProcessEngineConfiguration(CommandContext commandContext)
protected <T> void configureAuthCheck(ListQueryParameterObject parameter, ProcessEngineConfigurationImpl engineConfig, CommandContext commandContext)
Copyright © 2022. All rights reserved.