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