public class ReportManager
extends java.lang.Object
| Constructor and Description |
|---|
ReportManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyAllReportFilters(long surveyId)
Calculates the report filters from scratch for all respondents for all reports, for the survey.
|
static void |
applyReportFilters(Report report,
long surveyId)
Calculates the report filters from scratch for all respondents, for the survey.
|
static Report |
createCommentReport(long surveyId,
java.lang.String reportName,
java.lang.String heading) |
static QuestionCondition |
createDropdownQuestionCondition(java.lang.String conditionName,
java.lang.String optionValue)
Creates a condition for a dropdown question.
|
static ReportFilter |
createReportFilter(java.lang.String filterName,
int filterType,
int lastNDays)
Creates filtered reports for the interviewer.
|
static Report |
getReport(long reportId)
Gets the report by id.
|
static void |
updateFiltersExist(long surveyId)
Updates the filters.
|
static void |
updateReport(Report report)
Updates the report.
|
public static Report getReport(long reportId) throws SurveySystemException
reportId - Report idSurveySecurityException - Thrown if the user has no permission to fulfill the
operationSurveySystemExceptionpublic static void applyReportFilters(Report report, long surveyId) throws SurveySystemException
report - The reportsurveyId - The survey idSurveySystemExceptionpublic static void applyAllReportFilters(long surveyId)
throws SurveySystemException,
SurveySecurityException
report - surveyProxy - SurveySecurityException - Thrown if the user has no permission to fulfill the operationSurveySystemException - If an error occurs in the applicationcom.objectplanet.survey.exception.SurveySystemExceptionpublic static Report createCommentReport(long surveyId, java.lang.String reportName, java.lang.String heading)
public static void updateFiltersExist(long surveyId)
throws SurveySystemException
SurveySystemExceptionpublic static void updateReport(Report report) throws SurveySecurityException, SurveySystemException
com.objectplanet.survey.business.SurveySecurityExceptioncom.objectplanet.survey.persistence.PersistenceExceptionSurveySecurityExceptionSurveySystemExceptionpublic static ReportFilter createReportFilter(java.lang.String filterName, int filterType, int lastNDays)
public static QuestionCondition createDropdownQuestionCondition(java.lang.String conditionName, java.lang.String optionValue)
conditionName - The name of the conditionoptionValue - The option valueBuilt on July 29 2025