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 |
public List<Address> getAllAdresses() throws SQLException ;
|
18 |
|
19 |
public List<AliasBean> getAliasList() throws SQLException;
|
20 |
|
21 |
public List<ExtendedBean> getExtendedAdresslist() throws SQLException;
|
22 |
|
23 |
public Map<Short,HundredePctBean> get100PctList() throws SQLException;
|
24 |
|
25 |
public void saveRequestLog(String brugerid, String postnr, String adresse, SearchResult result) throws SQLException;
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
}
|