Class: ListView

ListView

(protected) new ListView(conn, type, id)

A class for organizing list view information
Parameters:
Name Type Description
conn Connection Connection instance
type SObject SObject type
id String List view ID
Source:

Methods

describe(callbackopt) → {Promise.<ListViewDescribeInfo>}

Returns detailed information about a list view
Parameters:
Name Type Attributes Description
callback Callback.<ListViewDescribeInfo> <optional>
Callback function
Source:
Returns:
Type
Promise.<ListViewDescribeInfo>

explain(callbackopt) → {Promise.<ExplainInfo>}

Explain plan for executing list view
Parameters:
Name Type Attributes Description
callback Callback.<ExplainInfo> <optional>
Callback function
Source:
Returns:
Type
Promise.<ExplainInfo>

results(callbackopt) → {Promise.<ListViewResultInfo>}

Executes query for the list view and returns the resulting data and presentation information.
Parameters:
Name Type Attributes Description
callback Callback.<ListViewResultInfo> <optional>
Callback function
Source:
Returns:
Type
Promise.<ListViewResultInfo>