public class JasperReportBuilder extends ReportBuilder<JasperReportBuilder>
builded
Constructor and Description |
---|
JasperReportBuilder() |
addBackground, addColumn, addColumnFooter, addColumnHeader, addDetail, addDetailFooter, addDetailHeader, addDetailRowHighlighter, addField, addField, addField, addGroup, addGroupFooter, addGroupHeader, addLastPageFooter, addNoData, addPageFooter, addPageHeader, addParameter, addParameter, addParameter, addProperty, addScriptlet, addSort, addSubtotalAtColumnFooter, addSubtotalAtColumnHeader, addSubtotalAtFirstGroupFooter, addSubtotalAtFirstGroupHeader, addSubtotalAtGroupFooter, addSubtotalAtGroupHeader, addSubtotalAtLastGroupFooter, addSubtotalAtLastGroupHeader, addSubtotalAtLastPageFooter, addSubtotalAtPageFooter, addSubtotalAtPageHeader, addSubtotalAtSummary, addSubtotalAtTitle, addSubtotalOfPercentageAtGroupFooter, addSubtotalOfPercentageAtGroupHeader, addSummary, addTemplateStyle, addTemplateStyle, addTitle, addVariable, background, columnFooter, columnGrid, columnGrid, columnGrid, columnHeader, columns, detail, detailFooter, detailHeader, detailRowHighlighters, fields, floatColumnFooter, getReport, groupBy, groupBy, groupFooter, groupHeader, highlightDetailEvenRows, highlightDetailOddRows, ignorePageWidth, ignorePagination, lastPageFooter, noData, pageFooter, pageHeader, parameters, scriptlets, setBackgroundBackgroundComponent, setBackgroundPrintWhenExpression, setBackgroundSplitType, setBackgroundStyle, setBarcodeStyle, setColumnDirection, setColumnFooterBackgroundComponent, setColumnFooterPrintWhenExpression, setColumnFooterSplitType, setColumnFooterStyle, setColumnHeaderBackgroundComponent, setColumnHeaderPrintWhenExpression, setColumnHeaderSplitType, setColumnHeaderStyle, setColumnStyle, setColumnTitleStyle, setDefaultFont, setDetailBackgroundComponent, setDetailEvenRowStyle, setDetailFooterBackgroundComponent, setDetailFooterPrintWhenExpression, setDetailFooterSplitType, setDetailFooterStyle, setDetailHeaderBackgroundComponent, setDetailHeaderPrintWhenExpression, setDetailHeaderSplitType, setDetailHeaderStyle, setDetailOddRowStyle, setDetailPrintWhenExpression, setDetailSplitType, setDetailStyle, setFilterExpression, setFloatColumnFooter, setGroupFooterBackgroundComponent, setGroupFooterPrintWhenExpression, setGroupFooterSplitType, setGroupFooterStyle, setGroupHeaderBackgroundComponent, setGroupHeaderPrintWhenExpression, setGroupHeaderSplitType, setGroupHeaderStyle, setGroupStyle, setGroupTitleStyle, setHighlightDetailEvenRows, setHighlightDetailOddRows, setChartStyle, setIgnorePageWidth, setIgnorePagination, setImageStyle, setLanguage, setLastPageFooterBackgroundComponent, setLastPageFooterPrintWhenExpression, setLastPageFooterSplitType, setLastPageFooterStyle, setLocale, setNoDataBackgroundComponent, setNoDataPrintWhenExpression, setNoDataSplitType, setNoDataStyle, setPageColumnSpace, setPageColumnsPerPage, setPageFooterBackgroundComponent, setPageFooterPrintWhenExpression, setPageFooterSplitType, setPageFooterStyle, setPageFormat, setPageFormat, setPageFormat, setPageHeaderBackgroundComponent, setPageHeaderPrintWhenExpression, setPageHeaderSplitType, setPageHeaderStyle, setPageMargin, setPrintOrder, setProperties, setQuery, setQuery, setQuery, setReportName, setResourceBundle, setResourceBundle, setShowColumnTitle, setShowColumnValues, setSubtotalStyle, setSummaryBackgroundComponent, setSummaryOnANewPage, setSummaryPrintWhenExpression, setSummarySplitType, setSummaryStyle, setSummaryWithPageHeaderAndFooter, setTableOfContents, setTableOfContents, setTableOfContents, setTemplate, setTextStyle, setTitleBackgroundComponent, setTitleOnANewPage, setTitlePrintWhenExpression, setTitleSplitType, setTitleStyle, setUseFieldNameAsDescription, setWhenNoDataType, setWhenResourceMissingType, sortBy, sortBy, subtotalsAtColumnFooter, subtotalsAtColumnHeader, subtotalsAtFirstGroupFooter, subtotalsAtFirstGroupHeader, subtotalsAtGroupFooter, subtotalsAtGroupHeader, subtotalsAtLastGroupFooter, subtotalsAtLastGroupHeader, subtotalsAtLastPageFooter, subtotalsAtPageFooter, subtotalsAtPageHeader, subtotalsAtSummary, subtotalsAtTitle, subtotalsOfPercentageAtGroupFooter, subtotalsOfPercentageAtGroupHeader, summary, summaryOnANewPage, summaryWithPageHeaderAndFooter, tableOfContents, tableOfContents, tableOfContents, templateStyles, templateStyles, title, titleOnANewPage, variables
build, configure, getObject
public JasperReportBuilder setStartPageNumber(Integer startPageNumber) throws DRException
DRException
public JasperReportBuilder setConnection(Connection connection)
public JasperReportBuilder setDataSource(Collection<?> collection)
collection
- - the collection valuespublic JasperReportBuilder setDataSource(ResultSet resultSet)
resultSet
- - the resultSet objectpublic JasperReportBuilder setDataSource(String sql, Connection connection)
sql
- - the sql queryconnection
- - the database connectionpublic JasperReportBuilder setDataSource(QueryBuilder query, Connection connection)
query
- - the query definitionconnection
- - the database connectionpublic JasperReportBuilder setDataSource(net.sf.jasperreports.engine.JRDataSource dataSource)
dataSource
- - the JRDataSource objectpublic JasperReportBuilder setTemplateDesign(InputStream inputStream) throws DRException
DRException
public JasperReportBuilder setTemplateDesign(File file) throws DRException
DRException
public JasperReportBuilder setTemplateDesign(String fileName) throws DRException
DRException
public JasperReportBuilder setTemplateDesign(net.sf.jasperreports.engine.design.JasperDesign jasperDesign) throws DRException
DRException
public JasperReportBuilder setTemplateDesign(URL jasperDesignUrl) throws DRException
DRException
public JasperReportBuilder setParameter(String name, Object value)
setParameter
in class ReportBuilder<JasperReportBuilder>
public JasperReportBuilder setParameters(Map<String,Object> parameters)
setParameters
in class ReportBuilder<JasperReportBuilder>
public JasperReportBuilder rebuild() throws DRException
DRException
public net.sf.jasperreports.engine.design.JasperDesign toJasperDesign() throws DRException
DRException
public net.sf.jasperreports.engine.JasperReport toJasperReport() throws DRException
DRException
public Map<String,Object> getJasperParameters() throws DRException
DRException
public net.sf.jasperreports.engine.JasperPrint toJasperPrint() throws DRException
DRException
public JasperReportBuilder show() throws DRException
DRException
public JasperReportBuilder show(boolean exitOnClose) throws DRException
DRException
public JasperReportBuilder showJrXml() throws DRException
DRException
public JasperReportBuilder toJrXml(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder print() throws DRException
DRException
public JasperReportBuilder print(boolean withPrintDialog) throws DRException
DRException
public JasperReportBuilder setVirtualizer(net.sf.jasperreports.engine.JRVirtualizer virtualizer)
public JasperReportBuilder toImage(OutputStream outputStream, ImageType imageType) throws DRException
DRException
public JasperReportBuilder toImage(JasperImageExporterBuilder imageExporterBuilder) throws DRException
DRException
public JasperReportBuilder toCsv(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toCsv(JasperCsvExporterBuilder csvExporterBuilder) throws DRException
DRException
public JasperReportBuilder toDocx(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toDocx(JasperDocxExporterBuilder docxExporterBuilder) throws DRException
DRException
public JasperReportBuilder toHtml(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toHtml(JasperHtmlExporterBuilder htmlExporterBuilder) throws DRException
DRException
public JasperReportBuilder toOds(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toOds(JasperOdsExporterBuilder odsExporterBuilder) throws DRException
DRException
public JasperReportBuilder toOdt(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toOdt(JasperOdtExporterBuilder odtExporterBuilder) throws DRException
DRException
public JasperReportBuilder toPdf(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toPdf(JasperPdfExporterBuilder pdfExporterBuilder) throws DRException
DRException
public JasperReportBuilder toRtf(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toRtf(JasperRtfExporterBuilder rtfExporterBuilder) throws DRException
DRException
public JasperReportBuilder toText(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toText(JasperTextExporterBuilder textExporterBuilder) throws DRException
DRException
@Deprecated public JasperReportBuilder toXhtml(OutputStream outputStream) throws DRException
DRException
@Deprecated public JasperReportBuilder toXhtml(JasperXhtmlExporterBuilder xhtmlExporterBuilder) throws DRException
DRException
@Deprecated public JasperReportBuilder toExcelApiXls(OutputStream outputStream) throws DRException
DRException
@Deprecated public JasperReportBuilder toExcelApiXls(JasperExcelApiXlsExporterBuilder excelApiXlsExporterBuilder) throws DRException
DRException
public JasperReportBuilder toXls(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toXls(JasperXlsExporterBuilder xlsExporterBuilder) throws DRException
DRException
public JasperReportBuilder toXlsx(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toXlsx(JasperXlsxExporterBuilder xlsxExporterBuilder) throws DRException
DRException
public JasperReportBuilder toXml(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toXml(JasperXmlExporterBuilder xmlExporterBuilder) throws DRException
DRException
public JasperReportBuilder toPptx(OutputStream outputStream) throws DRException
DRException
public JasperReportBuilder toPptx(JasperPptxExporterBuilder pptxExporterBuilder) throws DRException
DRException
public JasperReportBuilder export(AbstractJasperExporterBuilder<?,? extends AbstractJasperExporter> exporterBuilder) throws DRException
DRException
public Connection getConnection()
public net.sf.jasperreports.engine.JRDataSource getDataSource()
Copyright © 2010-2017. All Rights Reserved.