PROC_UpdateFields.DTO_Parameters
Class
global inherited sharing class PROC_UpdateFields.DTO_ParametersDTO for parameters to query and update records.
Since: 1.0
Fields
| Field | Description |
|---|---|
| global AccessLevel accessLevel | Explicit AccessLevel for the bulk update commit, or null to inherit the flag-driven default resolved by DML_SharingProxy.defaultAccessLevel(). |
| global Boolean allOrNothing | Indicates if the update requires all-or-nothing behavior (default: false). |
| global String objectName | API name of the SObject to update (e.g., 'Account'). |
| global QRY_Condition.Evaluable searchConditions | Conditions to filter records for updating. |
| global List updateFields | List of field updates to apply to the SObjects. |
Field Details
accessLevel
global AccessLevel accessLevelType: AccessLevel
Explicit AccessLevel for the bulk update commit, or null to inherit the flag-driven default resolved by DML_SharingProxy.defaultAccessLevel(). Framework utilities that own their lifecycle (e.g. UTIL_BulkUpdates) set this to AccessLevel.SYSTEM_MODE explicitly so the bulk commit is not gated on the invoking user's FLS. Subscribers calling PROC_UpdateFields directly may pass AccessLevel.USER_MODE to enforce their secure-by-default opt-in.
Since: 1.0
Example:
AccessLevel mode = instance.accessLevel;allOrNothing
global Boolean allOrNothingType: Boolean
Indicates if the update requires all-or-nothing behavior (default: false).
Since: 1.0
Example:
Boolean value = instance.allOrNothing;objectName
global String objectNameType: String
API name of the SObject to update (e.g., 'Account').
Since: 1.0
Example:
String value = instance.objectName;searchConditions
global QRY_Condition.Evaluable searchConditionsType: QRY_Condition.Evaluable
Conditions to filter records for updating.
Since: 1.0
Example:
QRY_Condition.Evaluable value = instance.searchConditions;updateFields
global List<PROC_UpdateFields.DTO_Field> updateFieldsType: List
List of field updates to apply to the SObjects.
Since: 1.0
Example:
List<DTO_Field> value = instance.updateFields;