main
Line | |
---|
1 | package mk.ukim.finki.eglas.services;
|
---|
2 |
|
---|
3 | import mk.ukim.finki.eglas.model.Address;
|
---|
4 | import mk.ukim.finki.eglas.model.PollingStation;
|
---|
5 |
|
---|
6 | import java.util.List;
|
---|
7 |
|
---|
8 | public interface AddressService {
|
---|
9 |
|
---|
10 | List<Address> findAllAddresses();
|
---|
11 | Address findAddressById(Long id);
|
---|
12 | Address updateAddress(Long id,
|
---|
13 | String street,
|
---|
14 | Integer houseNumber,
|
---|
15 | Integer entranceNumber,
|
---|
16 | Integer apartmentNumber,
|
---|
17 | Long municipality,
|
---|
18 | Long pollingStation);
|
---|
19 | void deleteAddress(Long id);
|
---|
20 |
|
---|
21 | List<PollingStation> findAllPollingStations();
|
---|
22 | List<PollingStation> findAllPollingStationsByMunicipalityId(Long municipalityId);
|
---|
23 | PollingStation findPollingStationById(Long id);
|
---|
24 | PollingStation updatePollingStation(Long id, String name, String street, Integer houseNumber, Integer entranceNumber, Integer apartmentNumber, Long municipality, Long electoralUnitId);
|
---|
25 | PollingStation deletePollingStation(Long id);
|
---|
26 | PollingStation findPollingStationByCitizenId(Long citizenId);
|
---|
27 | List<String> findStreetNames();
|
---|
28 | Address findByStreetLikeAndHouseNumberAndEntranceNumberAndApartmentNumberAAndMunicipality(String street,
|
---|
29 | Integer houseNumber,
|
---|
30 | Integer entranceNumber,
|
---|
31 | Integer apartmentNumber,
|
---|
32 | Long municipality);
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.