Search in sources :

Example 1 with ExportManifestEntityDto

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;
}
Also used : ExportManifestDto(org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.ExportManifestDto) TreeSet(java.util.TreeSet) ExportManifestEntityDto(org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.ExportManifestEntityDto)

Aggregations

TreeSet (java.util.TreeSet)1 ExportManifestDto (org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.ExportManifestDto)1 ExportManifestEntityDto (org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.ExportManifestEntityDto)1