use of org.jbpm.services.task.audit.service.TaskAuditQueryCriteriaUtil in project jbpm by kiegroup.
the class AbstractTaskAuditQueryCommand method execute.
@Override
public List<R> execute(Context cntxt) {
TaskContext context = (TaskContext) cntxt;
TaskAuditQueryCriteriaUtil queryCriteriaUtil = new TaskAuditQueryCriteriaUtil(context.getPersistenceContext());
List<Q> implResult = queryCriteriaUtil.doCriteriaQuery(getQueryWhere(), getQueryType());
return QueryCriteriaUtil.convertListToInterfaceList(implResult, getResultType());
}
use of org.jbpm.services.task.audit.service.TaskAuditQueryCriteriaUtil in project jbpm by kiegroup.
the class BAMTaskSummaryQueryCommand method execute.
@Override
public List<BAMTaskSummaryImpl> execute(Context cntxt) {
TaskContext context = (TaskContext) cntxt;
TaskAuditQueryCriteriaUtil queryCriteriaUtil = new TaskAuditQueryCriteriaUtil(context.getPersistenceContext());
return queryCriteriaUtil.doCriteriaQuery(getQueryWhere(), BAMTaskSummaryImpl.class);
}
Aggregations