TopRows Class

Contains methods and constructors for working with information about a row limit filter.

Reports

The following are constructors for TopRows.

  • TopRows(rowLimit, direction)

    Creates an instance of the Reports.TopRows class using the specified parameters.

  • TopRows()

    Creates an instance of the Reports.TopRows class. You can then set values by using the class’s set methods.

Creates an instance of the Reports.TopRows class using the specified parameters.

public TopRows(Integer rowLimit, Reports.ColumnSortOrder direction)

Creates an instance of the Reports.TopRows class. You can then set values by using the class’s set methods.

public TopRows()

The following are methods for TopRows.

Returns the sort order of the report rows.

public Reports.ColumnSortOrder getDirection()

Type: Reports.ColumnSortOrder

Returns the maximum number of rows shown in the report.

public Integer getRowLimit()

Type: Integer

Sets the sort order of the report’s rows.

public void setDirection(String value)

Type: void

Sets the sort order of the report’s rows.

public void setDirection(Reports.ColumnSortOrder direction)

Type: void

Sets the maximum number of rows included in the report.

public void setRowLimit(Integer rowLimit)

Type: void

Returns a string.

public String toString()

Type: String