source: src/main/java/mk/ukim/finki/eglas/services/CommitteeService.java@ ac151d1

main
Last change on this file since ac151d1 was ac151d1, checked in by David <darsov2@…>, 11 days ago

initial

  • Property mode set to 100644
File size: 826 bytes
Line 
1package mk.ukim.finki.eglas.services;
2import mk.ukim.finki.eglas.model.Citizen;
3import mk.ukim.finki.eglas.model.Committee;
4import mk.ukim.finki.eglas.model.ElectionRealization;
5import mk.ukim.finki.eglas.model.dto.CitizenVote;
6
7import java.util.List;
8
9public interface CommitteeService {
10 Committee findById(Long id);
11 List<Committee> findAll();
12 void delete(Long id);
13 Committee update(Long id, Long pollingStationId, Long electionRealizationId, List<Long> membersId);
14 void addMemberToCommittee(Long committeeId, Long committeeMemberId);
15 List<CitizenVote> getCitizens(Long committeeId);
16 ElectionRealization getElectionRealization(Long committeeId);
17 boolean getSamePollingStation(Long committeeMemberId, Long citizenId);
18 ElectionRealization findElectionRealizationByCitizen(Long citizenId);
19}
Note: See TracBrowser for help on using the repository browser.