com.hack23.cia.service.impl.control.chartservice.impl
Class CommitteeReportChartServiceImpl

Package class diagram package CommitteeReportChartServiceImpl
java.lang.Object
  extended by com.hack23.cia.service.impl.control.chartservice.impl.CommitteeReportChartServiceImpl
All Implemented Interfaces:
AbstractChartService, CommitteeReportChartService

public class CommitteeReportChartServiceImpl
extends Object
implements CommitteeReportChartService

The Class CommitteeReportChartServiceImpl.


Constructor Summary
Modifier Constructor and Description
protected CommitteeReportChartServiceImpl(ApplicationModelFactoryFactory applicationModelFactoryFactory)
          Instantiates a new committee report chart service impl.
 
Method Summary
Modifier and Type Method and Description
protected  BinaryContent createBar3DChart(org.jfree.data.category.CategoryDataset dataset, String title, String xTitle, String yTitle, String fileName)
          Creates the bar3 d chart.
protected  BinaryContent createTimeSeriesChart(String title, String timeAxisLabel, String valueAxisLabel, String fileName, org.jfree.data.time.TimeSeriesCollection responseTimeByHourDataset)
          Creates the time series chart.
 List<BinaryContent> generateCommitteeReportCharts(AgencyData agency, CommitteeReportData committeeReport, List<BallotData> allBallots, List<PoliticalPartyData> allPoliticalParties, LanguageData language)
          Generate committee report charts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommitteeReportChartServiceImpl

protected CommitteeReportChartServiceImpl(ApplicationModelFactoryFactory applicationModelFactoryFactory)
Instantiates a new committee report chart service impl.

Parameters:
applicationModelFactoryFactory - the application model factory factory
Method Detail

generateCommitteeReportCharts

public final List<BinaryContent> generateCommitteeReportCharts(AgencyData agency,
                                                               CommitteeReportData committeeReport,
                                                               List<BallotData> allBallots,
                                                               List<PoliticalPartyData> allPoliticalParties,
                                                               LanguageData language)
Description copied from interface: CommitteeReportChartService
Generate committee report charts.

Specified by:
generateCommitteeReportCharts in interface CommitteeReportChartService
Parameters:
agency - the agency
committeeReport - the committee report
allBallots - the all ballots
allPoliticalParties - the all political parties
language - the language
Returns:
the list

createBar3DChart

protected final BinaryContent createBar3DChart(org.jfree.data.category.CategoryDataset dataset,
                                               String title,
                                               String xTitle,
                                               String yTitle,
                                               String fileName)
Creates the bar3 d chart.

Parameters:
dataset - the dataset
title - the title
xTitle - the x title
yTitle - the y title
fileName - the file name
Returns:
the binary content

createTimeSeriesChart

protected final BinaryContent createTimeSeriesChart(String title,
                                                    String timeAxisLabel,
                                                    String valueAxisLabel,
                                                    String fileName,
                                                    org.jfree.data.time.TimeSeriesCollection responseTimeByHourDataset)
Creates the time series chart.

Parameters:
title - the title
timeAxisLabel - the time axis label
valueAxisLabel - the value axis label
fileName - the file name
responseTimeByHourDataset - the response time by hour dataset
Returns:
the binary content


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