use of org.camunda.bpm.engine.rest.dto.CountResultDto in project camunda-bpm-platform by camunda.
the class HistoricVariableInstanceRestServiceImpl method queryHistoricVariableInstancesCount.
@Override
public CountResultDto queryHistoricVariableInstancesCount(HistoricVariableInstanceQueryDto queryDto) {
queryDto.setObjectMapper(objectMapper);
HistoricVariableInstanceQuery query = queryDto.toQuery(processEngine);
long count = query.count();
CountResultDto result = new CountResultDto();
result.setCount(count);
return result;
}
use of org.camunda.bpm.engine.rest.dto.CountResultDto in project camunda-bpm-platform by camunda.
the class HistoricCaseActivityInstanceRestServiceImpl method queryHistoricCaseActivityInstancesCount.
public CountResultDto queryHistoricCaseActivityInstancesCount(HistoricCaseActivityInstanceQueryDto queryDto) {
HistoricCaseActivityInstanceQuery query = queryDto.toQuery(processEngine);
long count = query.count();
return new CountResultDto(count);
}
use of org.camunda.bpm.engine.rest.dto.CountResultDto in project camunda-bpm-platform by camunda.
the class HistoricCaseInstanceRestServiceImpl method queryHistoricCaseInstancesCount.
public CountResultDto queryHistoricCaseInstancesCount(HistoricCaseInstanceQueryDto queryDto) {
HistoricCaseInstanceQuery query = queryDto.toQuery(processEngine);
long count = query.count();
return new CountResultDto(count);
}
use of org.camunda.bpm.engine.rest.dto.CountResultDto in project camunda-bpm-platform by camunda.
the class HistoricDecisionInstanceRestServiceImpl method queryHistoricDecisionInstancesCount.
public CountResultDto queryHistoricDecisionInstancesCount(HistoricDecisionInstanceQueryDto queryDto) {
HistoricDecisionInstanceQuery query = queryDto.toQuery(processEngine);
long count = query.count();
return new CountResultDto(count);
}
use of org.camunda.bpm.engine.rest.dto.CountResultDto in project camunda-bpm-platform by camunda.
the class HistoricDetailRestServiceImpl method getHistoricDetailsCount.
@Override
public CountResultDto getHistoricDetailsCount(UriInfo uriInfo) {
HistoricDetailQueryDto queryDto = new HistoricDetailQueryDto(objectMapper, uriInfo.getQueryParameters());
HistoricDetailQuery query = queryDto.toQuery(processEngine);
long count = query.count();
CountResultDto result = new CountResultDto();
result.setCount(count);
return result;
}
Aggregations