public class ReportValidator
extends java.lang.Object
ProcessReport
s. This is used to validate ProcessReport
s
(as far as is possible) before passing them through from the browser.Modifier and Type | Field and Description |
---|---|
static int |
ERROR_NO_COLUMN_AGGREGATION
Report has column with no aggregation function.
|
static int |
ERROR_NO_COLUMNS
Report has no columns.
|
static int |
ERROR_NO_CUSTOM_TOOLBAR_PATH
Custom toolbar not specified.
|
static int |
ERROR_NO_DRILL_PATH_TYPE
DrillPath has no type.
|
static int |
ERROR_NO_FILTER_VALUE
SimpleColumnFilter has no constant value to compare against.
|
static int |
ERROR_NO_REPORT_NAME
Report has no name.
|
static int |
ERROR_NO_VIEWABLE_COLUMNS
Report has no viewable columns.
|
Constructor and Description |
---|
ReportValidator() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
validate(ProcessReport report_,
ServiceContext sc_)
Validates a ProcessReport and returns an array of messages. for any errors found in the report.
|
public static final int ERROR_NO_REPORT_NAME
public static final int ERROR_NO_COLUMN_AGGREGATION
public static final int ERROR_NO_COLUMNS
public static final int ERROR_NO_VIEWABLE_COLUMNS
public static final int ERROR_NO_FILTER_VALUE
public static final int ERROR_NO_DRILL_PATH_TYPE
public static final int ERROR_NO_CUSTOM_TOOLBAR_PATH
public static java.lang.String[] validate(ProcessReport report_, ServiceContext sc_)
report_
- the ProcessReportsc_
- the ServiceContextCopyright © 2003-2024 Appian Corporation. All Rights Reserved.