--- dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/AddressManager.java 2016/02/13 06:29:18 2940 +++ dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/fileupload/AddressManager.java 2016/02/16 09:38:13 2949 @@ -1,4 +1,4 @@ -package dk.daoas.adressevedligehold; +package dk.daoas.adressevedligehold.fileupload; import java.sql.SQLException; import java.util.ArrayList; @@ -11,20 +11,17 @@ import org.apache.commons.lang3.StringUtils; -import dk.daoas.adressevedligehold.AddressSourceEntry.EntryType; import dk.daoas.adressevedligehold.beans.Address; import dk.daoas.adressevedligehold.beans.Address.AddressState; -import dk.daoas.adressevedligehold.db.DatabaseLayerImplementation; +import dk.daoas.adressevedligehold.db.DatabaseCoverageUpdate; +import dk.daoas.adressevedligehold.fileupload.AddressSourceEntry.EntryType; import dk.daoas.adressevedligehold.tasks.TaskLogger; import dk.daoas.adressevedligehold.util.DeduplicateHelper; import dk.daoas.adressevedligehold.util.MiscUtils; import dk.daoas.adressevedligehold.util.TimingHelper; /* - * TODO: håndtering af entry dupletter ! (+ rapportering af dem) - - - + * */ public class AddressManager { @@ -44,7 +41,7 @@ Map dbkBaneMap = new TreeMap(); public AddressManager() throws SQLException { - DatabaseLayerImplementation db = new DatabaseLayerImplementation(); + DatabaseCoverageUpdate db = new DatabaseCoverageUpdate(); searchStructure = new TreeMap> >(); @@ -210,7 +207,7 @@ } } - DatabaseLayerImplementation db = new DatabaseLayerImplementation(); + DatabaseCoverageUpdate db = new DatabaseCoverageUpdate(); db.updateAddresses(updates); db.saveNewAddresses(inserts);