|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.reports.ReportDefinition
This class is the container for the information used to generate a report. It is the outermost tag of the XML representation defined by report.dtd (please see this file for an example).
| Constructor Summary | |
ReportDefinition()
|
|
| Method Summary | |
void |
addModuleIssueType(ModuleIssueType newModuleIssueType)
Add a ModuleIssueTypes value. |
void |
addReportAxis(ReportAxis newReportAxis)
Add a ReportAxis value. |
boolean |
allowMoreHeadings(ReportAxis axis)
Determines whether another heading level is allowed for the given axis. |
int |
availableNumberOfHeadings(ReportAxis axis)
The number of headings that could still be added to the given axis without exceeding the configured maximum. |
java.lang.String |
displayAttribute(java.lang.Object obj)
|
java.lang.String |
displayHeading(ReportHeading heading)
|
java.lang.String |
displayOption(ReportOptionAttribute roa)
|
java.lang.String |
displayUser(ReportUserAttribute rua)
|
ReportAxis |
getAxis(int axisIndex)
Gets the specified axis, if it was null prior to this method request a new ReportAxis is returned for the given index |
ReportDate |
getDefaultDate()
Get the ReportDate value used if no axis is time. |
java.lang.String |
getDescription()
Get the Description value. |
java.lang.String |
getFormat()
Get the format value. |
java.util.List |
getModuleIssueTypes()
Get the ModuleIssueTypes value. |
java.lang.String |
getName()
Get the Name value. |
java.util.List |
getReportAxisList()
Get the ReportAxisList value. |
int |
maximumHeadings()
The configured maximum from Scarab.properties: scarab.report.max.criteria |
boolean |
reportQueryIsExpensive()
Determines whether the report is going to be expensive. |
java.util.List |
retrieveAllReportOptionAttributes()
|
java.util.List |
retrieveAllReportUserAttributes()
|
void |
setDefaultDate(ReportDate newDefaultDate)
Set the ReportDate value used if no axis is time. |
void |
setDescription(java.lang.String newDescription)
Set the Description value. |
void |
setFormat(java.lang.String format)
Set the format value. |
void |
setModuleIssueTypes(java.util.List newModuleIssueTypes)
Set the ModuleIssueTypes value. |
void |
setName(java.lang.String newName)
Set the Name value. |
void |
setReportAxisList(java.util.List newReportAxisList)
Set the ReportAxisList value. |
int |
totalAvailableNumberOfHeadings()
The number of headings that could still be added to the report without exceeding the configured maximum. |
java.lang.String |
toXmlString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReportDefinition()
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String newName)
newName - The new Name value.public java.lang.String getDescription()
public void setDescription(java.lang.String newDescription)
newDescription - The new Description value.public java.lang.String getFormat()
public void setFormat(java.lang.String format)
format - The new format value.public java.util.List getModuleIssueTypes()
public void setModuleIssueTypes(java.util.List newModuleIssueTypes)
newModuleIssueTypes - The new ModuleIssueTypes value.public void addModuleIssueType(ModuleIssueType newModuleIssueType)
newModuleIssueType - The new ModuleIssueTypes value.public java.util.List getReportAxisList()
public void setReportAxisList(java.util.List newReportAxisList)
newReportAxisList - The new ReportAxisList value.public void addReportAxis(ReportAxis newReportAxis)
newReportAxis - The new ReportAxis value.public ReportDate getDefaultDate()
public void setDefaultDate(ReportDate newDefaultDate)
newDefaultDate - The new ReportDate value.public ReportAxis getAxis(int axisIndex)
axisIndex - an int value
ReportHeading valuepublic java.util.List retrieveAllReportOptionAttributes()
public java.util.List retrieveAllReportUserAttributes()
public java.lang.String toXmlString()
public java.lang.String displayAttribute(java.lang.Object obj)
public java.lang.String displayOption(ReportOptionAttribute roa)
public java.lang.String displayUser(ReportUserAttribute rua)
public java.lang.String displayHeading(ReportHeading heading)
public int maximumHeadings()
public boolean allowMoreHeadings(ReportAxis axis)
axis - a non-null ReportAxis valuepublic boolean reportQueryIsExpensive()
public int totalAvailableNumberOfHeadings()
public int availableNumberOfHeadings(ReportAxis axis)
axis - a non-null ReportAxis value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||