| layout | default |
|---|
Controller class for the lightning web component related-log-entries
getQueryResult(Id recordId,String fieldSetName,Integer rowLimit,String sortByFieldName,String sortDirection,String search,Boolean shouldEnableStrictSearch) → LogEntryQueryResult
Used by the component relatedLogEntries to get log entries for a particular record (based on record ID)
| Param | Description |
|---|---|
recordId |
The recordId to search for amidst all Log Entry fields |
fieldSetName |
The API/developer name of the field set |
rowLimit |
The max number of rows to query |
sortByFieldName |
The field to sort by |
sortDirection |
The direction to sort by (asc or desc) |
search |
An optional search term to filter by |
shouldEnableStrictSearch |
When true, used to filter returned LogEntryc records where RecordIdc == recordId |
Type
LogEntryQueryResult
Description
The instance of LogEntryQueryResult, containing matching records and metadata
An inner, wrapper class containing metadata information about an individual field.
A string containing the API name of the field, in particular the field path as it relates to the parent field set.
Boolean that returns true if this field is the standard Name field for its parent object.
A string containing the label of the field.
A string used for lookup fields to indicate the display name of the lookup / relationship.
If the field is a lookup or master detail relationship, this string will return the relationship API name. For instance: Lookupr instead of Lookupc.
Boolean that returns true if this field is sortable.
Returns the type of the field, matching the Schema.DisplayType ENUM values, but in all lowercase letters.
Inner, wrapper class, containing metadata around the list of fields used in the related log entry query.
A list of field related metadata
Contains the label of the desired field set, fetched using a describe call on the field set.
A string containing the API name of the field set, including the namespace prefix, if applicable.
Inner, wrapper class that contains query result information after querying related log entries.
Contains the fieldSet associated with this query.
Contains the result of the CRUD check, determining if the log entry is "accessible" for the current user.
Contains the label of the log entry sObject, fetched using a describe call in the constructor.
Contains the plural label of the log entry sObject, fetched using a describe call in the constructor.
contains the log entry results from the query.