1 |
package dk.daoas.daoadresseservice.db;
|
2 |
|
3 |
|
4 |
import java.sql.SQLException;
|
5 |
import java.util.List;
|
6 |
import java.util.Map;
|
7 |
|
8 |
import dk.daoas.daoadresseservice.beans.Address;
|
9 |
import dk.daoas.daoadresseservice.beans.AliasBean;
|
10 |
import dk.daoas.daoadresseservice.beans.ExtendedBean;
|
11 |
import dk.daoas.daoadresseservice.beans.HundredePctBean;
|
12 |
import dk.daoas.daoadresseservice.beans.SearchResult;
|
13 |
|
14 |
public interface DatabaseLayer {
|
15 |
|
16 |
|
17 |
List<Address> getAllAdresses() throws SQLException ;
|
18 |
|
19 |
List<AliasBean> getAliasList() throws SQLException;
|
20 |
|
21 |
List<ExtendedBean> getExtendedAdresslist() throws SQLException;
|
22 |
|
23 |
Map<Short,HundredePctBean> get100PctList() throws SQLException;
|
24 |
|
25 |
void saveRequestLog(String brugerid, String postnr, String adresse, String omdelingsdag, SearchResult result) throws SQLException;
|
26 |
|
27 |
}
|