Interface ImpExTransformationService

  • All Known Implementing Classes:
    DefaultImpExTransformationService

    public interface ImpExTransformationService
    Provides service methods for the transformation of mappings to impex import header libraries and for the transformation of source data to import data files.
    • Method Detail

      • transformData

        java.util.Map<java.lang.String,​java.io.File> transformData​(ImportCockpitCronJobModel cronJobModel,
                                                                         MappingModel mappingModel)
        Transforms all the source data (CSV format) stored in a given ImportCockpitCronJobModel into seperate CSV Data files based on the MappingModel defined. The CSV files generated consist of the Main CSV file e.g. Product and all "Sub Data" e.g. europe1Prices,...,.... "Sub Data" here is the data that will be imported on the fly when the user has specified the CREATE impexImportMode for at least one composed mapped line (MappingLineModel).
        Parameters:
        cronJobModel - - a ImportCockpitCronJobModel object that is
        mappingModel - - the MappingModel object which is linked to the source data.
        Returns:
        an unmodifiableMap of all the files generated during the transformation process.