Class FreemarkerReportFactory.FreemarkerReportImpl
java.lang.Object
ch.tocco.nice2.reporting.impl.freemarker.FreemarkerReportFactory.FreemarkerReportImpl
- All Implemented Interfaces:
Report
- Enclosing class:
FreemarkerReportFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.reporting.api.Report
Report.Parameter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(DocumentFormat format, OutputStream target, org.joda.time.DateTimeZone timezone) voidexport(String documentFormatExtension, OutputStream target, org.joda.time.DateTimeZone timeZone) com.google.common.io.FileBackedOutputStreamgetData()getId()intgetParameter(String name) getParameterValue(String name) voidsetData(EntityList data) voidsetMaxCount(int maxCount) booleansetParameter(String name, Object vaule) voidsetSkipAfterReportFunction(boolean skipAfterReportFunction)
-
Constructor Details
-
FreemarkerReportImpl
-
-
Method Details
-
getId
-
getDescription
- Specified by:
getDescriptionin interfaceReport
-
getParameters
- Specified by:
getParametersin interfaceReport
-
getParameter
- Specified by:
getParameterin interfaceReport
-
getParameterValue
- Specified by:
getParameterValuein interfaceReport
-
setParameter
- Specified by:
setParameterin interfaceReport
-
export
public void export(DocumentFormat format, OutputStream target, org.joda.time.DateTimeZone timezone) throws ReportingException - Specified by:
exportin interfaceReport- Throws:
ReportingException
-
export
public com.google.common.io.FileBackedOutputStream export(String documentFormatExtension, org.joda.time.DateTimeZone timeZone) throws ReportingException - Specified by:
exportin interfaceReport- Throws:
ReportingException
-
export
public void export(String documentFormatExtension, OutputStream target, org.joda.time.DateTimeZone timeZone) throws ReportingException - Specified by:
exportin interfaceReport- Throws:
ReportingException
-
getMaxCount
public int getMaxCount()- Specified by:
getMaxCountin interfaceReport
-
setMaxCount
public void setMaxCount(int maxCount) - Specified by:
setMaxCountin interfaceReport
-
getData
-
setData
-
setSkipAfterReportFunction
public void setSkipAfterReportFunction(boolean skipAfterReportFunction) - Specified by:
setSkipAfterReportFunctionin interfaceReport
-