use of net.geoprism.registry.etl.export.DataExportJob in project geoprism-registry by terraframe.
the class ETLService method getExportDetails.
@Request(RequestType.SESSION)
public JsonObject getExportDetails(String sessionId, String historyId, int pageSize, int pageNumber) {
ExportHistory hist = ExportHistory.get(historyId);
DataExportJob job = (DataExportJob) hist.getAllJob().getAll().get(0);
GeoprismUser user = GeoprismUser.get(job.getRunAsUser().getOid());
JsonObject jo = this.serializeHistory(hist, user, job);
jo.add("exportErrors", this.getExportErrors(sessionId, historyId, pageSize, pageNumber));
return jo;
}
Aggregations