com.hack23.cia.service.api.common
Interface ParliamentService

Package class diagram package ParliamentService
All Known Implementing Classes:
ParliamentServiceImpl

public interface ParliamentService

The Interface ParliamentService.


Method Summary
 List<Vote> findLastVotes(Long id)
          Find last votes.
 List<Vote> findLastVotesByBallotId(Long id)
          Find last votes by ballot id.
 List<ParliamentMember> findParliamentMembersByName(String searchString)
          Find parliament members by name.
 PoliticalParty findPoliticalPartyByShortCode(String party)
          Find political party by short code.
 List<Vote> findVotes(Long id)
          Find votes.
 List<CommitteeReport> getAllCommiteeReports()
          Gets the all commitee reports.
 List<Ballot> getBallots()
          Gets the ballots.
 List<CommitteeReport> getCommitteeReports()
          Gets the committee reports.
 Set<Committee> getCommittees()
          Gets the committees.
 List<ParliamentMember> getCurrentList()
          Gets the current list.
 List<ParliamentMember> getCurrentTopListAbsent(int number)
          Gets the current top list absent.
 List<ParliamentMember> getCurrentTopListAbsentInParty(int i, String party)
          Gets the current top list absent in party.
 List<ParliamentMember> getCurrentTopListLosers(int i)
          Gets the current top list losers.
 List<ParliamentMember> getCurrentTopListLosersInParty(int i, String party)
          Gets the current top list losers in party.
 List<ParliamentMember> getCurrentTopListLoyal(int i)
          Gets the current top list loyal.
 List<ParliamentMember> getCurrentTopListLoyalInParty(int i, String party)
          Gets the current top list loyal in party.
 List<ParliamentMember> getCurrentTopListPresent(int i)
          Gets the current top list present.
 List<ParliamentMember> getCurrentTopListPresentInParty(int i, String party)
          Gets the current top list present in party.
 List<ParliamentMember> getCurrentTopListRebels(int i)
          Gets the current top list rebels.
 List<ParliamentMember> getCurrentTopListRebelsInParty(int i, String party)
          Gets the current top list rebels in party.
 List<ParliamentMember> getCurrentTopListWinners(int i)
          Gets the current top list winners.
 List<ParliamentMember> getCurrentTopListWinnersInParty(int i, String party)
          Gets the current top list winners in party.
 Set<Election> getElections()
          Gets the elections.
 ImageContent getGraph(ParliamentChart summary, Ballot ballot, Language language)
          Gets the graph.
 ImageContent getGraph(ParliamentChart summary, CommitteeReport committeeReport, Language language)
          Gets the graph.
 ImageContent getGraph(ParliamentChart chart, Language language)
          Gets the graph.
 ImageContent getGraph(ParliamentChart chart, ParliamentMember parliamentMember, Language language)
          Gets the graph.
 ImageContent getGraph(ParliamentChart summary, PoliticalParty politicalParty, Language language)
          Gets the graph.
 List<CommitteeReport> getLastDecidedCommiteeReports()
          Gets the last decided commitee reports.
 ParliamentMember getParliamentMember(Long parliamentMemberId)
          Gets the parliament member.
 List<ParliamentMemberVoteCompareResult> getParliamentMemberEnemies(ParliamentMember parliamentMember)
          Gets the parliament member enemies.
 List<ParliamentMemberVoteCompareResult> getParliamentMemberFriends(ParliamentMember parliamentMember)
          Gets the parliament member friends.
 List<ParliamentMemberVoteCompareResult> getParliamentMemberPartyEnemies(ParliamentMember parliamentMember)
          Gets the parliament member party enemies.
 List<ParliamentMemberVoteCompareResult> getParliamentMemberPartyFriends(ParliamentMember parliamentMember)
          Gets the parliament member party friends.
 List<PoliticalParty> getPoliticalParties()
          Gets the political parties.
 Ballot loadBallot(Long id)
          Load ballot.
 Ballot loadBallotById(Long ballotId)
          Load ballot by id.
 Committee loadCommittee(Long id)
          Load committee.
 Committee loadCommitteeById(Long id)
          Load committee by id.
 CommitteeReport loadCommitteeReport(Long id)
          Load committee report.
 CommitteeReport loadCommitteeReportById(Long committeeReportId)
          Load committee report by id.
 Election loadElection(Long id)
          Load election.
 Election loadElectionById(Long id)
          Load election by id.
 Parliament loadParliament()
          Load parliament.
 ParliamentMember loadParliamentMemberById(Long id)
          Load parliament member by id.
 ParliamentYear loadParliamentYearById(Long id)
          Load parliament year by id.
 PoliticalParty loadPoliticalPartyById(Long id)
          Load political party by id.
 RegisterInformation lookupRegisterInformation(ParliamentMember parliamentMember)
          Lookup register information.
 

Method Detail

findLastVotes

List<Vote> findLastVotes(Long id)
Find last votes.

Parameters:
id - the id
Returns:
the list< vote>

findLastVotesByBallotId

List<Vote> findLastVotesByBallotId(Long id)
Find last votes by ballot id.

Parameters:
id - the id
Returns:
the list< vote>

findParliamentMembersByName

List<ParliamentMember> findParliamentMembersByName(String searchString)
Find parliament members by name.

Parameters:
searchString - the search string
Returns:
the list< parliament member>

findPoliticalPartyByShortCode

PoliticalParty findPoliticalPartyByShortCode(String party)
Find political party by short code.

Parameters:
party - the party
Returns:
the political party

findVotes

List<Vote> findVotes(Long id)
Find votes.

Parameters:
id - the id
Returns:
the list< vote>

getAllCommiteeReports

List<CommitteeReport> getAllCommiteeReports()
Gets the all commitee reports.

Returns:
the all commitee reports

getBallots

List<Ballot> getBallots()
Gets the ballots.

Returns:
the ballots

getCommitteeReports

List<CommitteeReport> getCommitteeReports()
Gets the committee reports.

Returns:
the committee reports

getCommittees

Set<Committee> getCommittees()
Gets the committees.

Returns:
the committees

getCurrentList

List<ParliamentMember> getCurrentList()
Gets the current list.

Returns:
the current list

getCurrentTopListAbsent

List<ParliamentMember> getCurrentTopListAbsent(int number)
Gets the current top list absent.

Parameters:
number - the number
Returns:
the current top list absent

getCurrentTopListAbsentInParty

List<ParliamentMember> getCurrentTopListAbsentInParty(int i,
                                                      String party)
Gets the current top list absent in party.

Parameters:
i - the i
party - the party
Returns:
the current top list absent in party

getCurrentTopListLosers

List<ParliamentMember> getCurrentTopListLosers(int i)
Gets the current top list losers.

Parameters:
i - the i
Returns:
the current top list losers

getCurrentTopListLosersInParty

List<ParliamentMember> getCurrentTopListLosersInParty(int i,
                                                      String party)
Gets the current top list losers in party.

Parameters:
i - the i
party - the party
Returns:
the current top list losers in party

getCurrentTopListLoyal

List<ParliamentMember> getCurrentTopListLoyal(int i)
Gets the current top list loyal.

Parameters:
i - the i
Returns:
the current top list loyal

getCurrentTopListLoyalInParty

List<ParliamentMember> getCurrentTopListLoyalInParty(int i,
                                                     String party)
Gets the current top list loyal in party.

Parameters:
i - the i
party - the party
Returns:
the current top list loyal in party

getCurrentTopListPresent

List<ParliamentMember> getCurrentTopListPresent(int i)
Gets the current top list present.

Parameters:
i - the i
Returns:
the current top list present

getCurrentTopListPresentInParty

List<ParliamentMember> getCurrentTopListPresentInParty(int i,
                                                       String party)
Gets the current top list present in party.

Parameters:
i - the i
party - the party
Returns:
the current top list present in party

getCurrentTopListRebels

List<ParliamentMember> getCurrentTopListRebels(int i)
Gets the current top list rebels.

Parameters:
i - the i
Returns:
the current top list rebels

getCurrentTopListRebelsInParty

List<ParliamentMember> getCurrentTopListRebelsInParty(int i,
                                                      String party)
Gets the current top list rebels in party.

Parameters:
i - the i
party - the party
Returns:
the current top list rebels in party

getCurrentTopListWinners

List<ParliamentMember> getCurrentTopListWinners(int i)
Gets the current top list winners.

Parameters:
i - the i
Returns:
the current top list winners

getCurrentTopListWinnersInParty

List<ParliamentMember> getCurrentTopListWinnersInParty(int i,
                                                       String party)
Gets the current top list winners in party.

Parameters:
i - the i
party - the party
Returns:
the current top list winners in party

getElections

Set<Election> getElections()
Gets the elections.

Returns:
the elections

getGraph

ImageContent getGraph(ParliamentChart summary,
                      Ballot ballot,
                      Language language)
Gets the graph.

Parameters:
summary - the summary
ballot - the ballot
language - the language
Returns:
the graph

getGraph

ImageContent getGraph(ParliamentChart summary,
                      CommitteeReport committeeReport,
                      Language language)
Gets the graph.

Parameters:
summary - the summary
committeeReport - the committee report
language - the language
Returns:
the graph

getGraph

ImageContent getGraph(ParliamentChart chart,
                      Language language)
Gets the graph.

Parameters:
chart - the chart
language - the language
Returns:
the graph

getGraph

ImageContent getGraph(ParliamentChart chart,
                      ParliamentMember parliamentMember,
                      Language language)
Gets the graph.

Parameters:
chart - the chart
parliamentMember - the parliament member
language - the language
Returns:
the graph

getGraph

ImageContent getGraph(ParliamentChart summary,
                      PoliticalParty politicalParty,
                      Language language)
Gets the graph.

Parameters:
summary - the summary
politicalParty - the political party
language - the language
Returns:
the graph

getLastDecidedCommiteeReports

List<CommitteeReport> getLastDecidedCommiteeReports()
Gets the last decided commitee reports.

Returns:
the last decided commitee reports

getParliamentMember

ParliamentMember getParliamentMember(Long parliamentMemberId)
Gets the parliament member.

Parameters:
parliamentMemberId - the parliament member id
Returns:
the parliament member

getParliamentMemberEnemies

List<ParliamentMemberVoteCompareResult> getParliamentMemberEnemies(ParliamentMember parliamentMember)
Gets the parliament member enemies.

Parameters:
parliamentMember - the parliament member
Returns:
the parliament member enemies

getParliamentMemberFriends

List<ParliamentMemberVoteCompareResult> getParliamentMemberFriends(ParliamentMember parliamentMember)
Gets the parliament member friends.

Parameters:
parliamentMember - the parliament member
Returns:
the parliament member friends

getParliamentMemberPartyEnemies

List<ParliamentMemberVoteCompareResult> getParliamentMemberPartyEnemies(ParliamentMember parliamentMember)
Gets the parliament member party enemies.

Parameters:
parliamentMember - the parliament member
Returns:
the parliament member party enemies

getParliamentMemberPartyFriends

List<ParliamentMemberVoteCompareResult> getParliamentMemberPartyFriends(ParliamentMember parliamentMember)
Gets the parliament member party friends.

Parameters:
parliamentMember - the parliament member
Returns:
the parliament member party friends

getPoliticalParties

List<PoliticalParty> getPoliticalParties()
Gets the political parties.

Returns:
the political parties

loadBallot

Ballot loadBallot(Long id)
Load ballot.

Parameters:
id - the id
Returns:
the ballot

loadBallotById

Ballot loadBallotById(Long ballotId)
Load ballot by id.

Parameters:
ballotId - the ballot id
Returns:
the ballot

loadCommittee

Committee loadCommittee(Long id)
Load committee.

Parameters:
id - the id
Returns:
the committee

loadCommitteeById

Committee loadCommitteeById(Long id)
Load committee by id.

Parameters:
id - the id
Returns:
the committee

loadCommitteeReport

CommitteeReport loadCommitteeReport(Long id)
Load committee report.

Parameters:
id - the id
Returns:
the committee report

loadCommitteeReportById

CommitteeReport loadCommitteeReportById(Long committeeReportId)
Load committee report by id.

Parameters:
committeeReportId - the committee report id
Returns:
the committee report

loadElection

Election loadElection(Long id)
Load election.

Parameters:
id - the id
Returns:
the election

loadElectionById

Election loadElectionById(Long id)
Load election by id.

Parameters:
id - the id
Returns:
the election

loadParliament

Parliament loadParliament()
Load parliament.

Returns:
the parliament

loadParliamentMemberById

ParliamentMember loadParliamentMemberById(Long id)
Load parliament member by id.

Parameters:
id - the id
Returns:
the parliament member

loadParliamentYearById

ParliamentYear loadParliamentYearById(Long id)
Load parliament year by id.

Parameters:
id - the id
Returns:
the parliament year

loadPoliticalPartyById

PoliticalParty loadPoliticalPartyById(Long id)
Load political party by id.

Parameters:
id - the id
Returns:
the political party

lookupRegisterInformation

RegisterInformation lookupRegisterInformation(ParliamentMember parliamentMember)
Lookup register information.

Parameters:
parliamentMember - the parliament member
Returns:
the register information


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.