Skip to content

UTIL_FormulaFilter.DTO_FilterResults ​

Class · Group: Utilities

Learn it: Utilities guide

apex
global inherited sharing class UTIL_FormulaFilter.DTO_FilterResults

Inner class representing the result of the filter method.

See Also: UTIL_FormulaFilter.filter


Properties ​

PropertyDescription
global List<SObject> newRecordsThe new versions of the records that matched the formula, in the order you passed them.
global List<SObject> oldRecordsThe old versions of the records that matched the formula, in the order you passed them.

newRecords ​

apex
global List<SObject> newRecords

Type: List

The new versions of the records that matched the formula, in the order you passed them. When the filter has no formula or no context class, it is the new list you passed in, unchanged. It is never null: an empty list is returned instead.

oldRecords ​

apex
global List<SObject> oldRecords

Type: List

The old versions of the records that matched the formula, in the order you passed them. When the filter has no formula or no context class, it is the old list you passed in, unchanged. It is never null: an empty list is returned instead.