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

Package class diagram package ParliamentService
All Known Implementing Classes:
ParliamentServiceImpl

public interface ParliamentService

The Interface ParliamentService.


Method Summary
 List<VoteData> findLastVotes(Long id)
          Find last votes.
 List<VoteData> findLastVotesByBallotId(Long id)
          Find last votes by ballot id.
 List<ParliamentMemberData> findParliamentMembersByName(String searchString)
          Find parliament members by name.
 PoliticalPartyData findPoliticalPartyByShortCode(String party)
          Find political party by short code.
 List<CommitteeReportData> getAllCommiteeReports()
          Gets the all commitee reports.
 List<ParliamentMemberData> getCurrentTopListAbsent(int number)
          Gets the current top list absent.
 List<ParliamentMemberData> getCurrentTopListAbsentInParty(int i, String party)
          Gets the current top list absent in party.
 List<ParliamentMemberData> getCurrentTopListLosers(int i)
          Gets the current top list losers.
 List<ParliamentMemberData> getCurrentTopListLosersInParty(int i, String party)
          Gets the current top list losers in party.
 List<ParliamentMemberData> getCurrentTopListLoyal(int i)
          Gets the current top list loyal.
 List<ParliamentMemberData> getCurrentTopListLoyalInParty(int i, String party)
          Gets the current top list loyal in party.
 List<ParliamentMemberData> getCurrentTopListPresent(int i)
          Gets the current top list present.
 List<ParliamentMemberData> getCurrentTopListPresentInParty(int i, String party)
          Gets the current top list present in party.
 List<ParliamentMemberData> getCurrentTopListRebels(int i)
          Gets the current top list rebels.
 List<ParliamentMemberData> getCurrentTopListRebelsInParty(int i, String party)
          Gets the current top list rebels in party.
 List<ParliamentMemberData> getCurrentTopListWinners(int i)
          Gets the current top list winners.
 List<ParliamentMemberData> getCurrentTopListWinnersInParty(int i, String party)
          Gets the current top list winners in party.
 BinaryContent getGraph(ParliamentChart chart, BallotData ballot, LanguageData language)
          Gets the graph.
 BinaryContent getGraph(ParliamentChart summary, CommitteeReportData committeeReport, LanguageData language)
          Gets the graph.
 BinaryContent getGraph(ParliamentChart chart, LanguageData language)
          Gets the graph.
 BinaryContent getGraph(ParliamentChart chart, ParliamentMemberData parliamentMember, LanguageData language)
          Gets the graph.
 BinaryContent getGraph(ParliamentChart summary, PoliticalPartyData politicalParty, LanguageData language)
          Gets the graph.
 List<CommitteeReportData> getLastDecidedCommiteeReports()
          Gets the last decided commitee reports.
 ParliamentMemberData getParliamentMember(Long parliamentMemberId)
          Gets the parliament member.
 List<ParliamentMemberVoteCompareResultData> getParliamentMemberEnemies(ParliamentMemberData parliamentMember)
          Gets the parliament member enemies.
 List<ParliamentMemberVoteCompareResultData> getParliamentMemberFriends(ParliamentMemberData parliamentMember)
          Gets the parliament member friends.
 List<ParliamentMemberVoteCompareResultData> getParliamentMemberPartyEnemies(ParliamentMemberData parliamentMember)
          Gets the parliament member party enemies.
 List<ParliamentMemberVoteCompareResultData> getParliamentMemberPartyFriends(ParliamentMemberData parliamentMember)
          Gets the parliament member party friends.
 List<PoliticalPartyData> getPoliticalParties()
          Gets the political parties.
 BallotData loadBallotById(Long ballotId)
          Load ballot by id.
 CommitteeReportData loadCommitteeReportById(Long committeeReportId)
          Load committee report by id.
 RegisterInformationData lookupRegisterInformation(ParliamentMemberData parliamentMember)
          Lookup register information.
 

Method Detail

findLastVotes

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

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

findLastVotesByBallotId

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

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

findParliamentMembersByName

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

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

findPoliticalPartyByShortCode

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

Parameters:
party - the party
Returns:
the political party data

getAllCommiteeReports

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

Returns:
the all commitee reports

getCurrentTopListAbsent

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

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

getCurrentTopListAbsentInParty

List<ParliamentMemberData> 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<ParliamentMemberData> getCurrentTopListLosers(int i)
Gets the current top list losers.

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

getCurrentTopListLosersInParty

List<ParliamentMemberData> 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<ParliamentMemberData> getCurrentTopListLoyal(int i)
Gets the current top list loyal.

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

getCurrentTopListLoyalInParty

List<ParliamentMemberData> 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<ParliamentMemberData> getCurrentTopListPresent(int i)
Gets the current top list present.

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

getCurrentTopListPresentInParty

List<ParliamentMemberData> 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<ParliamentMemberData> getCurrentTopListRebels(int i)
Gets the current top list rebels.

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

getCurrentTopListRebelsInParty

List<ParliamentMemberData> 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<ParliamentMemberData> getCurrentTopListWinners(int i)
Gets the current top list winners.

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

getCurrentTopListWinnersInParty

List<ParliamentMemberData> 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

getGraph

BinaryContent getGraph(ParliamentChart chart,
                       BallotData ballot,
                       LanguageData language)
Gets the graph.

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

getGraph

BinaryContent getGraph(ParliamentChart summary,
                       CommitteeReportData committeeReport,
                       LanguageData language)
Gets the graph.

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

getGraph

BinaryContent getGraph(ParliamentChart chart,
                       LanguageData language)
Gets the graph.

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

getGraph

BinaryContent getGraph(ParliamentChart chart,
                       ParliamentMemberData parliamentMember,
                       LanguageData language)
Gets the graph.

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

getGraph

BinaryContent getGraph(ParliamentChart summary,
                       PoliticalPartyData politicalParty,
                       LanguageData language)
Gets the graph.

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

getLastDecidedCommiteeReports

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

Returns:
the last decided commitee reports

getParliamentMember

ParliamentMemberData getParliamentMember(Long parliamentMemberId)
Gets the parliament member.

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

getParliamentMemberEnemies

List<ParliamentMemberVoteCompareResultData> getParliamentMemberEnemies(ParliamentMemberData parliamentMember)
Gets the parliament member enemies.

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

getParliamentMemberFriends

List<ParliamentMemberVoteCompareResultData> getParliamentMemberFriends(ParliamentMemberData parliamentMember)
Gets the parliament member friends.

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

getParliamentMemberPartyEnemies

List<ParliamentMemberVoteCompareResultData> getParliamentMemberPartyEnemies(ParliamentMemberData parliamentMember)
Gets the parliament member party enemies.

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

getParliamentMemberPartyFriends

List<ParliamentMemberVoteCompareResultData> getParliamentMemberPartyFriends(ParliamentMemberData parliamentMember)
Gets the parliament member party friends.

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

getPoliticalParties

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

Returns:
the political parties

loadBallotById

BallotData loadBallotById(Long ballotId)
Load ballot by id.

Parameters:
ballotId - the ballot id
Returns:
the ballot data

loadCommitteeReportById

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

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

lookupRegisterInformation

RegisterInformationData lookupRegisterInformation(ParliamentMemberData parliamentMember)
Lookup register information.

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


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