protected internal virtual IList <LockedExternalTaskDto> executeFetchAndLock(FetchExternalTasksExtendedDto fetchingDto, ProcessEngine processEngine) { ExternalTaskQueryBuilder fetchBuilder = fetchingDto.buildQuery(processEngine); IList <LockedExternalTask> externalTasks = fetchBuilder.execute(); return(LockedExternalTaskDto.fromLockedExternalTasks(externalTasks)); }
public virtual IList <LockedExternalTaskDto> fetchAndLock(FetchExternalTasksDto fetchingDto) { ExternalTaskQueryBuilder fetchBuilder = fetchingDto.buildQuery(processEngine); IList <LockedExternalTask> externalTasks = fetchBuilder.execute(); return(LockedExternalTaskDto.fromLockedExternalTasks(externalTasks)); }