use of org.kie.internal.query.ParametrizedQuery in project jbpm by kiegroup.
the class TaskSummaryQueryBuilderImpl method build.
@Override
public ParametrizedQuery<TaskSummary> build() {
return new ParametrizedQuery<TaskSummary>() {
private QueryWhere queryWhere = new QueryWhere(getQueryWhere());
@Override
public List<TaskSummary> getResultList() {
TaskSummaryQueryCommand cmd = new TaskSummaryQueryCommand(queryWhere);
cmd.setUserId(userId);
return executor.execute(cmd);
}
};
}
Aggregations