com.hack23.cia.service.api.common
Interface ChartService

Package class diagram package ChartService
All Known Implementing Classes:
BallotChartServiceImpl, ChartServiceImpl, CommitteeChartServiceImpl, CommitteeReportChartServiceImpl, ParliamentChartServiceImpl, ParliamentMemberChartServiceImpl, PoliticalPartyChartServiceImpl

public interface ChartService

The Interface ChartService.


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> allPoliticalParties, 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> allBallots, ParliamentMember parliamentMember, List<PoliticalParty> allPoliticalParties, Language language)
          Generate parliament member charts.
 List<ImageContent> generatePoliticalPartyCharts(Agency agency, List<Ballot> allBallots, PoliticalParty politicalParty, Language language)
          Generate political party charts.
 

Method Detail

createRecentActionsGraph

ImageContent createRecentActionsGraph(List actionEventHistory)
Creates the recent actions graph.

Parameters:
actionEventHistory - the action event history
Returns:
the image content

createResponseTimeGraph

ImageContent createResponseTimeGraph(List responseTimeHistory)
Creates the response time graph.

Parameters:
responseTimeHistory - the response time history
Returns:
the image content

generateBallotCharts

List<ImageContent> generateBallotCharts(Agency agency,
                                        Ballot ballot,
                                        List<PoliticalParty> allPoliticalParties,
                                        Language language)
Generate ballot charts.

Parameters:
agency - the agency
ballot - the ballot
allPoliticalParties - the all political parties
language - the language
Returns:
the list< image content>

generateCommitteeReportCharts

List<ImageContent> generateCommitteeReportCharts(Agency agency,
                                                 List<Ballot> allBallots,
                                                 List<PoliticalParty> allPoliticalParties,
                                                 Language language)
Generate committee report charts.

Parameters:
agency - the agency
allBallots - the all ballots
allPoliticalParties - the all political parties
language - the language
Returns:
the list< image content>

generateParliamentCharts

List<ImageContent> generateParliamentCharts(Agency agency,
                                            List<Ballot> ballots,
                                            List<PoliticalParty> politicalParties,
                                            Language language)
Generate parliament charts.

Parameters:
agency - the agency
ballots - the ballots
politicalParties - the political parties
language - the language
Returns:
the list< image content>

generateParliamentMemberCharts

List<ImageContent> generateParliamentMemberCharts(Agency agency,
                                                  List<Ballot> allBallots,
                                                  ParliamentMember parliamentMember,
                                                  List<PoliticalParty> allPoliticalParties,
                                                  Language language)
Generate parliament member charts.

Parameters:
agency - the agency
allBallots - the all ballots
parliamentMember - the parliament member
allPoliticalParties - the all political parties
language - the language
Returns:
the list< image content>

generatePoliticalPartyCharts

List<ImageContent> generatePoliticalPartyCharts(Agency agency,
                                                List<Ballot> allBallots,
                                                PoliticalParty politicalParty,
                                                Language language)
Generate political party charts.

Parameters:
agency - the agency
allBallots - the all ballots
politicalParty - the political party
language - the language
Returns:
the list< image content>


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