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