1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package com.hack23.cia.service.external.val.api;
20
21 import java.util.List;
22
23 import com.hack23.cia.model.external.val.kommunvalkrets.impl.SwedenCountyData;
24 import com.hack23.cia.model.external.val.landstingvalkrets.impl.SwedenCountyElectoralRegion;
25 import com.hack23.cia.model.external.val.partier.impl.SwedenElectionRegion;
26 import com.hack23.cia.model.external.val.partier.impl.SwedenElectionType;
27 import com.hack23.cia.model.external.val.partier.impl.SwedenPoliticalParty;
28 import com.hack23.cia.model.external.val.riksdagsvalkrets.impl.SwedenParliamentElectoralRegion;
29
30
31
32
33 public interface ValApi {
34
35
36
37
38
39
40
41
42 List<SwedenElectionType> getElectionTypes() throws ValApiException;
43
44
45
46
47
48
49
50
51 List<SwedenParliamentElectoralRegion> getParliamentElectoralRegions() throws ValApiException;
52
53
54
55
56
57
58
59
60 List<SwedenCountyElectoralRegion> getCountyElectoralRegions() throws ValApiException;
61
62
63
64
65
66
67
68
69 List<SwedenCountyData> getCountyRegions() throws ValApiException;
70
71
72
73
74
75
76 SwedenElectionRegion getSwedenElectionRegion() throws ValApiException;
77
78
79
80
81
82
83 List<SwedenPoliticalParty> getSwedenPoliticalParties() throws ValApiException;
84
85 }