StandardFilter Class

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

Namespace

Reports

Usage

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.

StandardFilter Methods

The following are methods for StandardFilter.

getName()

Return the API name of the standard filter.

Signature

public String getName()

Return Value

Type: String

getValue()

Returns the standard filter value.

Signature

public String getValue()

Return Value

Type: String

setName(name)

Sets the API name of the standard filter.

Signature

public void setName(String name)

Parameters

name
Type: String

Return Value

Type: void

setValue(value)

Sets the standard filter value.

Signature

public void setValue(String value)

Parameters

value
Type: String

Return Value

Type: void