public enum ReportDefinitionErrorReason extends Enum<ReportDefinitionErrorReason>
Java class for ReportDefinitionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReportDefinitionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_DATE_RANGE_FOR_REPORT"/>
<enumeration value="INVALID_FIELD_NAME_FOR_REPORT"/>
<enumeration value="UNABLE_TO_FIND_MAPPING_FOR_THIS_REPORT"/>
<enumeration value="INVALID_COLUMN_NAME_FOR_REPORT"/>
<enumeration value="INVALID_REPORT_DEFINITION_ID"/>
<enumeration value="REPORT_SELECTOR_CANNOT_BE_NULL"/>
<enumeration value="NO_ENUMS_FOR_THIS_COLUMN_NAME"/>
<enumeration value="INVALID_VIEW"/>
<enumeration value="SORTING_NOT_SUPPORTED"/>
<enumeration value="PAGING_NOT_SUPPORTED"/>
<enumeration value="CUSTOMER_SERVING_TYPE_REPORT_MISMATCH"/>
<enumeration value="CLIENT_SELECTOR_NO_CUSTOMER_IDENTIFIER"/>
<enumeration value="CLIENT_SELECTOR_INVALID_CUSTOMER_ID"/>
<enumeration value="REPORT_DEFINITION_ERROR"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CLIENT_SELECTOR_INVALID_CUSTOMER_ID
Cross-client report has an invalid external customer ID in the client
selector.
|
CLIENT_SELECTOR_NO_CUSTOMER_IDENTIFIER
Cross-client report has a client selector without any valid identifier
for a customer.
|
CUSTOMER_SERVING_TYPE_REPORT_MISMATCH
Customer can not create report of a selected type.
|
INVALID_COLUMN_NAME_FOR_REPORT
Customer passed in invalid column name for a report type
|
INVALID_DATE_RANGE_FOR_REPORT
Customer passed in invalid date range for a report type.
|
INVALID_FIELD_NAME_FOR_REPORT
Customer passed in invalid field name for a report type
|
INVALID_REPORT_DEFINITION_ID
Customer passed in invalid report definition id.
|
INVALID_VIEW
Invalid view name.
|
NO_ENUMS_FOR_THIS_COLUMN_NAME
No Enums exist for this column name.
|
PAGING_NOT_SUPPORTED
Paging is not supported for reports.
|
REPORT_DEFINITION_ERROR |
REPORT_SELECTOR_CANNOT_BE_NULL
Report selector cannot be null.
|
SORTING_NOT_SUPPORTED
Sorting is not supported for reports.
|
UNABLE_TO_FIND_MAPPING_FOR_THIS_REPORT
Unable to locate a field mapping for this report type.
|
| Modifier and Type | Method and Description |
|---|---|
static ReportDefinitionErrorReason |
fromValue(String v) |
String |
value() |
static ReportDefinitionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportDefinitionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportDefinitionErrorReason INVALID_DATE_RANGE_FOR_REPORT
public static final ReportDefinitionErrorReason INVALID_FIELD_NAME_FOR_REPORT
public static final ReportDefinitionErrorReason UNABLE_TO_FIND_MAPPING_FOR_THIS_REPORT
public static final ReportDefinitionErrorReason INVALID_COLUMN_NAME_FOR_REPORT
public static final ReportDefinitionErrorReason INVALID_REPORT_DEFINITION_ID
public static final ReportDefinitionErrorReason REPORT_SELECTOR_CANNOT_BE_NULL
public static final ReportDefinitionErrorReason NO_ENUMS_FOR_THIS_COLUMN_NAME
public static final ReportDefinitionErrorReason INVALID_VIEW
public static final ReportDefinitionErrorReason SORTING_NOT_SUPPORTED
public static final ReportDefinitionErrorReason PAGING_NOT_SUPPORTED
public static final ReportDefinitionErrorReason CUSTOMER_SERVING_TYPE_REPORT_MISMATCH
public static final ReportDefinitionErrorReason CLIENT_SELECTOR_NO_CUSTOMER_IDENTIFIER
public static final ReportDefinitionErrorReason CLIENT_SELECTOR_INVALID_CUSTOMER_ID
public static final ReportDefinitionErrorReason REPORT_DEFINITION_ERROR
public static ReportDefinitionErrorReason[] values()
for (ReportDefinitionErrorReason c : ReportDefinitionErrorReason.values()) System.out.println(c);
public static ReportDefinitionErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ReportDefinitionErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.