public abstract class BaseReport extends java.lang.Object implements Report
| Constructor and Description |
|---|
BaseReport() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Does processing when the report is installed.
|
void |
deActivate()
Does processing when the report is uninstalled.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the report's localized description.
|
java.lang.String |
getIcon()
Returns the Font Awesome CSS class for the report icon.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the report's localized name.
|
java.lang.String |
getReportKey()
Returns the key that identifies the report.
|
boolean |
isInstantiable()
Returns
true if the report can be used more than once with
different values for a campaign. |
boolean |
isVisible(long classPK)
Returns
true if the report is visible for a specific
element. |
java.lang.String |
processEditReport(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse,
ReportInstance reportInstance)
Returns the result of evaluating the report's form fields in the context
of the request and response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEditHTML, getHTML, getReportType, updateReportpublic void activate()
Reportpublic void deActivate()
ReportdeActivate in interface Reportpublic java.lang.String getDescription(java.util.Locale locale)
ReportgetDescription in interface Reportlocale - the language localepublic java.lang.String getIcon()
ReportgetIcon in interface Reportpublic java.lang.String getName(java.util.Locale locale)
Reportpublic java.lang.String getReportKey()
ReportgetReportKey in interface Reportpublic boolean isInstantiable()
Reporttrue if the report can be used more than once with
different values for a campaign.isInstantiable in interface Reporttrue if the report can be used more than once;
false otherwisepublic boolean isVisible(long classPK)
Reporttrue if the report is visible for a specific
element.public java.lang.String processEditReport(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse,
ReportInstance reportInstance)
throws java.lang.Exception
ReportprocessEditReport in interface ReportportletRequest - the request from which to get the request
parametersportletResponse - the response to receive the render parametersreportInstance - the report instance with stored configurationjava.lang.Exception - if an exception occurred