This class holds results from a CSV import - IDs of updated and created instances.
CsvImportResults(EntityDto entity, List<Long> newInstanceIDs, List<Long> updatedInstanceIDs, Map<Integer, String> rowErrors)¶
- entity – entity for which this import was performed
- newInstanceIDs – a list of IDs for instances that were newly created during import
- updatedInstanceIDs – a list of IDs for instances that were updated during import
- rowErrors – a list of errors thrown during import
Returns: the total number of instances that were newly created during import
Returns the total number of imported instances. The total number of imported instances is the sum of the number of updated instances and the total number of newly created instances. In other words this is the number of affected instances.
Returns: total number of imported instances