use of name.abuchen.portfolio.datatransfer.actions.DetectDuplicatesAction in project portfolio by buchen.
the class ReviewExtractedItemsPage method checkEntries.
private void checkEntries(List<ExtractedEntry> entries) {
List<ImportAction> actions = new ArrayList<>();
actions.add(new CheckValidTypesAction());
actions.add(new DetectDuplicatesAction());
actions.add(new CheckCurrenciesAction());
for (ExtractedEntry entry : entries) {
entry.clearStatus();
for (ImportAction action : actions) entry.addStatus(entry.getItem().apply(action, this));
}
}
Aggregations