StandardFilter Class

Contains information about the standard filter defined in the report, such as the filter field API name and filter value.

Reports

Use to get or set standard filters on a report. Standard filters vary by report type. For example, standard filters for reports on the Opportunity object are Show, Opportunity Status, and Probability.

The following are methods for StandardFilter.

Return the API name of the standard filter.

public String getName()

Type: String

Returns the standard filter value.

public String getValue()

Type: String

Sets the API name of the standard filter.

public void setName(String name)

Type: void

Sets the standard filter value.

public void setValue(String value)

Type: void