public class Report
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addElement(com.objectplanet.survey.business.report.ReportElement element)
Adds an element to the report.
|
void |
addFilterPersistent(ReportFilter reportFilter)
Adds a persistent filter to the report.
|
java.lang.String |
getName()
Gets the report name
|
long |
getReportId()
Gets the report id
|
void |
setCreatedBy(long userId)
Sets the created by user id
|
void |
setCreatedDate(long createdDate)
Sets the created date
|
void |
setHeading(java.lang.String heading)
Sets the report heading
|
void |
setIncludeIncomplete(boolean includeIncomplete)
Sets incomplete respondents to be included in the report or not.
|
void |
setName(java.lang.String name)
Sets the report name
|
void |
setShowTOC(boolean showTOC)
Enabled/disables the table of contents for the report.
|
void |
setSurveyId(long surveyId)
Sets the survey id
|
void |
setValid(boolean valid)
Sets the report valid or not
|
public void setName(java.lang.String name)
reportName
- The new report namepublic void setHeading(java.lang.String heading)
heading
- The report headingpublic void setCreatedBy(long userId)
userId
- The user idpublic void setCreatedDate(long createdDate)
createdDate
- The created datepublic void setSurveyId(long surveyId)
surveyId
- The survey idpublic void setValid(boolean valid)
valid
- True if valid, false otherwise.public long getReportId()
public java.lang.String getName()
public void addElement(com.objectplanet.survey.business.report.ReportElement element)
public void setIncludeIncomplete(boolean includeIncomplete)
includeIncomplete
- True if incomplete respondents should be included, false otherwise.public void setShowTOC(boolean showTOC)
showTOC
- Use true to enable TOC, false otherwise.public void addFilterPersistent(ReportFilter reportFilter) throws SurveySystemException
reportFilter
- The report filter to add.SurveySystemException
Built on September 5 2019