|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.service.impl.common.ParliamentServiceImpl
@Transactional(propagation=REQUIRED) public class ParliamentServiceImpl
The Class ParliamentServiceImpl.
Constructor Summary | |
---|---|
ParliamentServiceImpl(PoliticalPartyDAO politicalPartyDAO,
CommitteeReportDAO commiteeReportDAO,
ParliamentMemberDAO parliamentMemberDAO,
ParliamentMemberRegisterAgent parliamentMemberRegisterAgent,
ResourceDAO resourceDAO,
BallotDAO ballotDAO)
Instantiates a new parliament service impl. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParliamentServiceImpl(PoliticalPartyDAO politicalPartyDAO, CommitteeReportDAO commiteeReportDAO, ParliamentMemberDAO parliamentMemberDAO, ParliamentMemberRegisterAgent parliamentMemberRegisterAgent, ResourceDAO resourceDAO, BallotDAO ballotDAO)
politicalPartyDAO
- the political party daocommiteeReportDAO
- the commitee report daoparliamentMemberDAO
- the parliament member daoparliamentMemberRegisterAgent
- the parliament member register agentresourceDAO
- the resource daoballotDAO
- the ballot daoMethod Detail |
---|
public final List<VoteData> findLastVotes(Long id)
ParliamentService
findLastVotes
in interface ParliamentService
id
- the id
public final List<VoteData> findLastVotesByBallotId(Long id)
ParliamentService
findLastVotesByBallotId
in interface ParliamentService
id
- the id
public final List<ParliamentMemberData> findParliamentMembersByName(String searchString)
ParliamentService
findParliamentMembersByName
in interface ParliamentService
searchString
- the search string
public final PoliticalPartyData findPoliticalPartyByShortCode(String partyShortCode)
ParliamentService
findPoliticalPartyByShortCode
in interface ParliamentService
partyShortCode
- the party
public final List<CommitteeReportData> getAllCommiteeReports()
ParliamentService
getAllCommiteeReports
in interface ParliamentService
public final List<BallotData> getBallots()
public final List<ParliamentMemberData> getCurrentList()
public final List<ParliamentMemberData> getCurrentTopListAbsent(int number)
ParliamentService
getCurrentTopListAbsent
in interface ParliamentService
number
- the number
public final List<ParliamentMemberData> getCurrentTopListAbsentInParty(int i, String party)
ParliamentService
getCurrentTopListAbsentInParty
in interface ParliamentService
i
- the iparty
- the party
public final List<ParliamentMemberData> getCurrentTopListLosers(int i)
ParliamentService
getCurrentTopListLosers
in interface ParliamentService
i
- the i
public final List<ParliamentMemberData> getCurrentTopListLosersInParty(int i, String party)
ParliamentService
getCurrentTopListLosersInParty
in interface ParliamentService
i
- the iparty
- the party
public final List<ParliamentMemberData> getCurrentTopListLoyal(int i)
ParliamentService
getCurrentTopListLoyal
in interface ParliamentService
i
- the i
public final List<ParliamentMemberData> getCurrentTopListLoyalInParty(int i, String party)
ParliamentService
getCurrentTopListLoyalInParty
in interface ParliamentService
i
- the iparty
- the party
public final List<ParliamentMemberData> getCurrentTopListPresent(int i)
ParliamentService
getCurrentTopListPresent
in interface ParliamentService
i
- the i
public final List<ParliamentMemberData> getCurrentTopListPresentInParty(int i, String party)
ParliamentService
getCurrentTopListPresentInParty
in interface ParliamentService
i
- the iparty
- the party
public final List<ParliamentMemberData> getCurrentTopListRebels(int i)
ParliamentService
getCurrentTopListRebels
in interface ParliamentService
i
- the i
public final List<ParliamentMemberData> getCurrentTopListRebelsInParty(int i, String party)
ParliamentService
getCurrentTopListRebelsInParty
in interface ParliamentService
i
- the iparty
- the party
public final List<ParliamentMemberData> getCurrentTopListWinners(int i)
ParliamentService
getCurrentTopListWinners
in interface ParliamentService
i
- the i
public final List<ParliamentMemberData> getCurrentTopListWinnersInParty(int i, String party)
ParliamentService
getCurrentTopListWinnersInParty
in interface ParliamentService
i
- the iparty
- the party
public final BinaryContent getGraph(ParliamentChart chart, BallotData ballot, LanguageData language)
ParliamentService
getGraph
in interface ParliamentService
chart
- the chartballot
- the ballotlanguage
- the language
public final BinaryContent getGraph(ParliamentChart chart, CommitteeReportData committeeReport, LanguageData language)
ParliamentService
getGraph
in interface ParliamentService
chart
- the summarycommitteeReport
- the committee reportlanguage
- the language
public final BinaryContent getGraph(ParliamentChart chart, LanguageData language)
ParliamentService
getGraph
in interface ParliamentService
chart
- the chartlanguage
- the language
public final BinaryContent getGraph(ParliamentChart chart, ParliamentMemberData parliamentMember, LanguageData language)
ParliamentService
getGraph
in interface ParliamentService
chart
- the chartparliamentMember
- the parliament memberlanguage
- the language
public final BinaryContent getGraph(ParliamentChart chart, PoliticalPartyData politicalParty, LanguageData language)
ParliamentService
getGraph
in interface ParliamentService
chart
- the summarypoliticalParty
- the political partylanguage
- the language
public final List<CommitteeReportData> getLastDecidedCommiteeReports()
ParliamentService
getLastDecidedCommiteeReports
in interface ParliamentService
public final ParliamentMemberData getParliamentMember(Long parliamentMemberId)
ParliamentService
getParliamentMember
in interface ParliamentService
parliamentMemberId
- the parliament member id
public final List<ParliamentMemberVoteCompareResultData> getParliamentMemberEnemies(ParliamentMemberData parliamentMember)
getParliamentMemberEnemies
in interface ParliamentService
parliamentMember
- the parliament member
public final List<ParliamentMemberVoteCompareResultData> getParliamentMemberFriends(ParliamentMemberData parliamentMember)
getParliamentMemberFriends
in interface ParliamentService
parliamentMember
- the parliament member
public final List<ParliamentMemberVoteCompareResultData> getParliamentMemberPartyEnemies(ParliamentMemberData parliamentMember)
getParliamentMemberPartyEnemies
in interface ParliamentService
parliamentMember
- the parliament member
public final List<ParliamentMemberVoteCompareResultData> getParliamentMemberPartyFriends(ParliamentMemberData parliamentMember)
getParliamentMemberPartyFriends
in interface ParliamentService
parliamentMember
- the parliament member
public final List<PoliticalPartyData> getPoliticalParties()
ParliamentService
getPoliticalParties
in interface ParliamentService
public final BallotData loadBallotById(Long ballotId)
loadBallotById
in interface ParliamentService
ballotId
- the ballot id
public final CommitteeReportData loadCommitteeReportById(Long committeeReportId)
loadCommitteeReportById
in interface ParliamentService
committeeReportId
- the committee report id
public final RegisterInformationData lookupRegisterInformation(ParliamentMemberData member)
lookupRegisterInformation
in interface ParliamentService
member
- the member
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |