use of net.geoprism.registry.etl.PublishShapefileJobQuery in project geoprism-registry by terraframe.
the class MasterListVersion method getJobs.
public List<ExecutableJob> getJobs() {
LinkedList<ExecutableJob> jobs = new LinkedList<ExecutableJob>();
PublishShapefileJobQuery psjq = new PublishShapefileJobQuery(new QueryFactory());
psjq.WHERE(psjq.getVersion().EQ(this));
try (OIterator<? extends PublishShapefileJob> it = psjq.getIterator()) {
jobs.addAll(it.getAll());
}
PublishMasterListVersionJobQuery pmlvj = new PublishMasterListVersionJobQuery(new QueryFactory());
pmlvj.WHERE(pmlvj.getMasterListVersion().EQ(this));
try (OIterator<? extends PublishMasterListVersionJob> it = pmlvj.getIterator()) {
jobs.addAll(it.getAll());
}
return jobs;
}
Aggregations