Interface ImpExTransformationService
-
- All Known Implementing Classes:
DefaultImpExTransformationService
public interface ImpExTransformationServiceProvides service methods for the transformation of mappings to impex import header libraries and for the transformation of source data to import data files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.io.File>transformData(ImportCockpitCronJobModel cronJobModel, MappingModel mappingModel)Transforms all the source data (CSV format) stored in a givenImportCockpitCronJobModelinto seperate CSV Data files based on theMappingModeldefined.
-
-
-
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 givenImportCockpitCronJobModelinto seperate CSV Data files based on theMappingModeldefined. The CSV files generated consist of the Main CSV file e.g.Productand 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- - aImportCockpitCronJobModelobject that ismappingModel- - theMappingModelobject which is linked to the source data.- Returns:
- an
unmodifiableMapof all the files generated during the transformation process.
-
-