|
||||||||||
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
@PublicSpi public abstract class AbstractReport
Nested Class Summary | |
---|---|
static class |
AbstractReport.MutableLong
This utility class is much like an AtomicLong, but it does not have the thread-safety guarantees and overhead of that class. |
Field Summary | |
---|---|
protected ReportModuleDescriptor |
descriptor
|
Constructor Summary | |
---|---|
AbstractReport()
|
Method Summary | |
---|---|
String |
generateReportExcel(ProjectActionSupport action,
Map params)
By default, will throw an UnsuppportedOperationException as reports don't support Excel by default. |
protected ReportModuleDescriptor |
getDescriptor()
|
IssueConstant |
getIssueConstant(org.ofbiz.core.entity.GenericValue issueConstantGV)
|
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,
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, Map params)
Report
Any errors should be added to the action errors.
validate
in interface Report
public boolean isExcelViewSupported()
isExcelViewSupported
in interface Report
public String generateReportExcel(ProjectActionSupport action, Map params) throws Exception
generateReportExcel
in interface Report
Exception
public boolean showReport()
showReport
in interface Report
protected ReportModuleDescriptor getDescriptor()
public IssueConstant getIssueConstant(org.ofbiz.core.entity.GenericValue issueConstantGV)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |