com.hack23.cia.service.impl.common
Class ParliamentChartServiceImpl

Package class diagram package ParliamentChartServiceImpl
java.lang.Object
  extended by com.hack23.cia.service.impl.common.ParliamentChartServiceImpl
All Implemented Interfaces:
ChartService

public class ParliamentChartServiceImpl
extends Object
implements ChartService

The Class ParliamentChartServiceImpl.


Constructor Summary
ParliamentChartServiceImpl()
           
 
Method Summary
 ImageContent createRecentActionsGraph(List actionEventHistory)
          Creates the recent actions graph.
 ImageContent createResponseTimeGraph(List responseTimeHistory)
          Creates the response time graph.
 List<ImageContent> generateBallotCharts(Agency agency, Ballot ballot, List<PoliticalParty> politicalParties, Language language)
          Generate ballot charts.
 List<ImageContent> generateCommitteeReportCharts(Agency agency, List<Ballot> allBallots, List<PoliticalParty> allPoliticalParties, Language language)
          Generate committee report charts.
 List<ImageContent> generateParliamentCharts(Agency agency, List<Ballot> ballots, List<PoliticalParty> politicalParties, Language language)
          Generate parliament charts.
 List<ImageContent> generateParliamentMemberCharts(Agency agency, List<Ballot> ballots, ParliamentMember parliamentMember, List<PoliticalParty> politicalParties, Language language)
          Generate parliament member charts.
 List<ImageContent> generatePoliticalPartyCharts(Agency agency, List<Ballot> ballots, PoliticalParty politicalParty, Language language)
          Generate political party charts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParliamentChartServiceImpl

public ParliamentChartServiceImpl()
Method Detail

createRecentActionsGraph

public final ImageContent createRecentActionsGraph(List actionEventHistory)
Description copied from interface: ChartService
Creates the recent actions graph.

Specified by:
createRecentActionsGraph in interface ChartService
Parameters:
actionEventHistory - the action event history
Returns:
the image content

createResponseTimeGraph

public final ImageContent createResponseTimeGraph(List responseTimeHistory)
Description copied from interface: ChartService
Creates the response time graph.

Specified by:
createResponseTimeGraph in interface ChartService
Parameters:
responseTimeHistory - the response time history
Returns:
the image content

generateBallotCharts

public final List<ImageContent> generateBallotCharts(Agency agency,
                                                     Ballot ballot,
                                                     List<PoliticalParty> politicalParties,
                                                     Language language)
Description copied from interface: ChartService
Generate ballot charts.

Specified by:
generateBallotCharts in interface ChartService
Parameters:
agency - the agency
ballot - the ballot
politicalParties - the all political parties
language - the language
Returns:
the list< image content>

generateCommitteeReportCharts

public final List<ImageContent> generateCommitteeReportCharts(Agency agency,
                                                              List<Ballot> allBallots,
                                                              List<PoliticalParty> allPoliticalParties,
                                                              Language language)
Description copied from interface: ChartService
Generate committee report charts.

Specified by:
generateCommitteeReportCharts in interface ChartService
Parameters:
agency - the agency
allBallots - the all ballots
allPoliticalParties - the all political parties
language - the language
Returns:
the list< image content>

generateParliamentCharts

public final List<ImageContent> generateParliamentCharts(Agency agency,
                                                         List<Ballot> ballots,
                                                         List<PoliticalParty> politicalParties,
                                                         Language language)
Description copied from interface: ChartService
Generate parliament charts.

Specified by:
generateParliamentCharts in interface ChartService
Parameters:
agency - the agency
ballots - the ballots
politicalParties - the political parties
language - the language
Returns:
the list< image content>

generateParliamentMemberCharts

public final List<ImageContent> generateParliamentMemberCharts(Agency agency,
                                                               List<Ballot> ballots,
                                                               ParliamentMember parliamentMember,
                                                               List<PoliticalParty> politicalParties,
                                                               Language language)
Description copied from interface: ChartService
Generate parliament member charts.

Specified by:
generateParliamentMemberCharts in interface ChartService
Parameters:
agency - the agency
ballots - the all ballots
parliamentMember - the parliament member
politicalParties - the all political parties
language - the language
Returns:
the list< image content>

generatePoliticalPartyCharts

public final List<ImageContent> generatePoliticalPartyCharts(Agency agency,
                                                             List<Ballot> ballots,
                                                             PoliticalParty politicalParty,
                                                             Language language)
Description copied from interface: ChartService
Generate political party charts.

Specified by:
generatePoliticalPartyCharts in interface ChartService
Parameters:
agency - the agency
ballots - the all ballots
politicalParty - the political party
language - the language
Returns:
the list< image content>


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