public CaseInstanceResource getCaseInstance(String caseInstanceId) {
return new CaseInstanceResourceImpl(getProcessEngine(), caseInstanceId, getObjectMapper());
}
public List<CaseInstanceDto> getCaseInstances(UriInfo uriInfo, Integer firstResult, Integer maxResults) {
CaseInstanceQueryDto queryDto = new CaseInstanceQueryDto(getObjectMapper(), uriInfo.getQueryParameters());
return queryCaseInstances(queryDto, firstResult, maxResults);
}