com.hack23.cia.service.impl.content
Interface ParliamentContentService

Package class diagram package ParliamentContentService
All Known Implementing Classes:
ParliamentContentServiceImpl

@Transactional(propagation=REQUIRED)
public interface ParliamentContentService

The Interface ParliamentContentService.


Method Summary
Modifier and Type Method and Description
 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

@Transactional(readOnly=true)
List<VoteData> findLastVotes(Long id)
Find last votes.

Parameters:
id - the id
Returns:
the list

findLastVotesByBallotId

@Transactional(readOnly=true)
List<VoteData> findLastVotesByBallotId(Long id)
Find last votes by ballot id.

Parameters:
id - the id
Returns:
the list

findParliamentMembersByName

@Transactional(readOnly=true)
List<ParliamentMemberData> findParliamentMembersByName(String searchString)
Find parliament members by name.

Parameters:
searchString - the search string
Returns:
the list

findPoliticalPartyByShortCode

@Transactional(readOnly=true)
PoliticalPartyData findPoliticalPartyByShortCode(String party)
Find political party by short code.

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

getAllCommiteeReports

@Transactional(readOnly=true)
List<CommitteeReportData> getAllCommiteeReports()
Gets the all commitee reports.

Returns:
the all commitee reports

getCurrentTopListAbsent

@Transactional(readOnly=true)
List<ParliamentMemberData> getCurrentTopListAbsent(int number)
Gets the current top list absent.

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

getCurrentTopListAbsentInParty

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
List<ParliamentMemberData> getCurrentTopListLosers(int i)
Gets the current top list losers.

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

getCurrentTopListLosersInParty

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
List<ParliamentMemberData> getCurrentTopListLoyal(int i)
Gets the current top list loyal.

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

getCurrentTopListLoyalInParty

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
List<ParliamentMemberData> getCurrentTopListPresent(int i)
Gets the current top list present.

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

getCurrentTopListPresentInParty

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
List<ParliamentMemberData> getCurrentTopListRebels(int i)
Gets the current top list rebels.

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

getCurrentTopListRebelsInParty

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
List<ParliamentMemberData> getCurrentTopListWinners(int i)
Gets the current top list winners.

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

getCurrentTopListWinnersInParty

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
BinaryContent getGraph(ParliamentChart chart,
                                     LanguageData language)
Gets the graph.

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

getGraph

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
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

@Transactional(readOnly=true)
List<CommitteeReportData> getLastDecidedCommiteeReports()
Gets the last decided commitee reports.

Returns:
the last decided commitee reports

getParliamentMember

@Transactional(readOnly=true)
ParliamentMemberData getParliamentMember(Long parliamentMemberId)
Gets the parliament member.

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

getParliamentMemberEnemies

@Transactional(readOnly=true)
List<ParliamentMemberVoteCompareResultData> getParliamentMemberEnemies(ParliamentMemberData parliamentMember)
Gets the parliament member enemies.

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

getParliamentMemberFriends

@Transactional(readOnly=true)
List<ParliamentMemberVoteCompareResultData> getParliamentMemberFriends(ParliamentMemberData parliamentMember)
Gets the parliament member friends.

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

getParliamentMemberPartyEnemies

@Transactional(readOnly=true)
List<ParliamentMemberVoteCompareResultData> getParliamentMemberPartyEnemies(ParliamentMemberData parliamentMember)
Gets the parliament member party enemies.

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

getParliamentMemberPartyFriends

@Transactional(readOnly=true)
List<ParliamentMemberVoteCompareResultData> getParliamentMemberPartyFriends(ParliamentMemberData parliamentMember)
Gets the parliament member party friends.

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

getPoliticalParties

@Transactional(readOnly=true)
List<PoliticalPartyData> getPoliticalParties()
Gets the political parties.

Returns:
the political parties

loadBallotById

@Transactional(readOnly=true)
BallotData loadBallotById(Long ballotId)
Load ballot by id.

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

loadCommitteeReportById

@Transactional(readOnly=true)
CommitteeReportData loadCommitteeReportById(Long committeeReportId)
Load committee report by id.

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

lookupRegisterInformation

@Transactional(readOnly=true)
RegisterInformationData lookupRegisterInformation(ParliamentMemberData parliamentMember)
Lookup register information.

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


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