use of org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.ExportManifestEntityDto in project pentaho-platform by pentaho.
the class ExportManifest method getExportManifestDto.
ExportManifestDto getExportManifestDto() {
ExportManifestDto rawExportManifest = new ExportManifestDto();
List<ExportManifestEntityDto> rawEntityList = rawExportManifest.getExportManifestEntity();
rawExportManifest.setExportManifestInformation(manifestInformation);
TreeSet<String> ts = new TreeSet<String>(exportManifestEntities.keySet());
for (String path : ts) {
rawEntityList.add(exportManifestEntities.get(path).getExportManifestEntityDto());
}
rawExportManifest.getExportManifestMetadata().addAll(this.metadataList);
rawExportManifest.getExportManifestMondrian().addAll(this.mondrianList);
rawExportManifest.getExportManifestSchedule().addAll(this.scheduleList);
rawExportManifest.getExportManifestDatasource().addAll(this.datasourceList);
rawExportManifest.getExportManifestUser().addAll(this.getUserExports());
rawExportManifest.getExportManifestRole().addAll(this.getRoleExports());
rawExportManifest.setExportManifestMetaStore(this.getMetaStore());
rawExportManifest.getGlobalUserSettings().addAll(this.getGlobalUserSettings());
return rawExportManifest;
}
Aggregations