|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.plugin.report.impl.AbstractReport
public abstract class AbstractReport
Field Summary | |
---|---|
protected ReportModuleDescriptor |
descriptor
|
Constructor Summary | |
---|---|
AbstractReport()
|
Method Summary | |
---|---|
java.lang.String |
generateReportExcel(ProjectActionSupport action,
java.util.Map params)
By default, will throw an UnsuppportedOperationException as reports don't support Excel by default. |
protected ReportModuleDescriptor |
getDescriptor()
|
void |
init(ReportModuleDescriptor descriptor)
Initialise this report, given the report's module descriptor. |
boolean |
isExcelViewSupported()
By default, reports do not have an Excel view. |
boolean |
showReport()
Whether or not to show this report in the interface. |
void |
validate(ProjectActionSupport action,
java.util.Map params)
Validate the parameters passed to this report from the UI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.plugin.report.Report |
---|
generateReportHtml |
Field Detail |
---|
protected ReportModuleDescriptor descriptor
Constructor Detail |
---|
public AbstractReport()
Method Detail |
---|
public void init(ReportModuleDescriptor descriptor)
Report
This method is run immediately after the report is constructed.
init
in interface Report
public void validate(ProjectActionSupport action, java.util.Map params)
Report
Any errors should be added to the action errors.
validate
in interface Report
public boolean isExcelViewSupported()
isExcelViewSupported
in interface Report
public java.lang.String generateReportExcel(ProjectActionSupport action, java.util.Map params) throws java.lang.Exception
generateReportExcel
in interface Report
java.lang.Exception
public boolean showReport()
showReport
in interface Report
protected ReportModuleDescriptor getDescriptor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |