Examples of ExportManifestDto


Examples of org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.ExportManifestDto

        JAXBContext.newInstance( "org.pentaho.platform.plugin.services.importexport.exportManifest.bindings" );
    Unmarshaller u = jc.createUnmarshaller();

    try {
      JAXBElement<ExportManifestDto> o = (JAXBElement) ( u.unmarshal( input ) );
      ExportManifestDto exportManifestDto = o.getValue();
      ExportManifest exportManifest = new ExportManifest( exportManifestDto );
      return exportManifest;
    } catch ( Exception e ) {
      System.out.println( e.toString() );
      return null;
View Full Code Here

Examples of org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.ExportManifestDto

      return null;
    }
  }

  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 );

    return rawExportManifest;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.