# Apex Classes

> Core Apex classes, utilities, and services

**251 items** in this category.

---

## Async

| Name | Description |
|------|-------------|
| [IF_Chain](/reference/apex/if-chain) | A container for shared global interfaces used by the async chain orchestration framework. You implem |
| [IF_Chain.Step](/reference/apex/if-chain-step) | Interface for defining the business logic of a single chain step. Each step receives a shared contex |
| [SCHED_ChainWatchdog](/reference/apex/sched-chainwatchdog) | A scheduled job that finds async chains stuck with no recent activity and marks them Stalled, firing |
| [TRG_AsyncChainExecution](/reference/apex/trg-asyncchainexecution) | Trigger on AsyncChainExecution__c. It registers every trigger event, so a trigger action row you add |
| [UTIL_AsyncChain](/reference/apex/util-asyncchain) | Lightweight async chain runner for sequencing jobs with shared state, error handling, and progress t |
| [UTIL_AsyncChain.ApiStep](/reference/apex/util-asyncchain-apistep) | Chain step adapter that executes any API_Outbound handler as part of an async chain. Wraps the full  |
| [UTIL_AsyncChain.ChainBuilder](/reference/apex/util-asyncchain-chainbuilder) | Fluent builder for configuring and executing an async chain. Provides methods for adding steps, sett |
| [UTIL_AsyncChain.ChainContext](/reference/apex/util-asyncchain-chaincontext) | Shared state container passed between chain steps. Provides key-value storage for inter-step communi |
| [UTIL_AsyncChain.ChainStatus](/reference/apex/util-asyncchain-chainstatus) | Typed, read-only snapshot of a chain execution returned by getChainStatus. A structured alternative  |
| [UTIL_AsyncChain.ChainStep](/reference/apex/util-asyncchain-chainstep) | Abstract base class for individual steps in an async chain. Each step runs in its own Queueable tran |
| [UTIL_AsyncChain.StepResult](/reference/apex/util-asyncchain-stepresult) | Immutable result object returned by each ChainStep to indicate success or failure. Use the static fa |

## Async Processing

| Name | Description |
|------|-------------|
| [IF_Async](/reference/apex/if-async) | A container for shared global interfaces used by the asynchronous framework. |
| [IF_Async.AsynchronousExecutionStrategy](/reference/apex/if-async-asynchronousexecutionstrategy) | Enum defining different asynchronous execution strategies. |
| [IF_Async.Finishable](/reference/apex/if-async-finishable) | Optional interface for logic that runs once, after all items are processed. Implement it for cleanup |
| [IF_Async.Processable](/reference/apex/if-async-processable) | Interface for defining the core processing logic to be executed by an asynchronous job. |
| [TRG_BatchApexErrorEvent](/reference/apex/trg-batchapexerrorevent) | Batch job failure trigger: hands each failure the platform reports to the framework, which writes it |
| [TRG_ScheduledJob](/reference/apex/trg-scheduledjob) | TRG_ScheduledJob activated by saving Scheduled Job records (rule: 1 record per periodic job setting) |
| [UTIL_AsynchronousJobLauncher](/reference/apex/util-asynchronousjoblauncher) | Provides a simplified, static entry point for running complex asynchronous jobs using the UTIL_Adapt |
| [UTIL_AsynchronousJobLauncher.DTO_AsynchronousJobRequest](/reference/apex/util-asynchronousjoblauncher-dto-asynchronousjobrequest) | Request object for initiating an asynchronous process. |

## Bulk DML

| Name | Description |
|------|-------------|
| [PROC_ExecuteDML](/reference/apex/proc-executedml) | Processor for generic DML operations using the adaptive async framework. Implements IF_Async.Process |
| [PROC_UpdateFields](/reference/apex/proc-updatefields) | Processor for bulk field updates using the adaptive async framework. Implements IF_Async.Processable |
| [PROC_UpdateFields.DTO_Field](/reference/apex/proc-updatefields-dto-field) | DTO representing a field to update on an SObject. |
| [PROC_UpdateFields.DTO_Parameters](/reference/apex/proc-updatefields-dto-parameters) | DTO for parameters to query and update records. |
| [PROC_UpdateFields.FieldUpdateMethod](/reference/apex/proc-updatefields-fieldupdatemethod) | Enum defining methods for updating SObject fields. |
| [SCHED_DeactivateUsers](/reference/apex/sched-deactivateusers) | Scheduled job to automatically deactivate users who haven't logged in for a specified number of days |
| [SCHED_PurgeRecords](/reference/apex/sched-purgerecords) | A scheduled job that deletes records from a specified Salesforce object based on age or all records, |
| [UTIL_BulkUpdates](/reference/apex/util-bulkupdates) | Utility methods used to initialize adaptive async jobs to update fields on multiple objects. Provide |
| [UTIL_PurgeRecords](/reference/apex/util-purgerecords) | Provides utility methods for purging records from Salesforce objects using adaptive async processing |

## Controllers

| Name | Description |
|------|-------------|
| [CTRL_TableDataSource](/reference/apex/ctrl-tabledatasource) | Controller class responsible for managing the instantiation of a data source class that supports the |
| [IF_TableDataSource](/reference/apex/if-tabledatasource) | Generic Interface for Table data sources |

## Data Masking

| Name | Description |
|------|-------------|
| [UTIL_Exceptions.MaskingBlockedException](/reference/apex/util-exceptions-maskingblockedexception) | Thrown when a masking rule configured with FailureAction__c = BlockDml fails. Propagates out of UTIL |

## Data Transfer Objects

| Name | Description |
|------|-------------|
| [DTO_Base](/reference/apex/dto-base) | An empty base class for Data Transfer Objects (DTOs). A DTO is a small class that holds the fields y |
| [DTO_BaseTable](/reference/apex/dto-basetable) | A Data Transfer Object (DTO) class that structures webservice handler responses into a common table  |
| [DTO_BaseTable.DTO_Column](/reference/apex/dto-basetable-dto-column) | Represents a column in the DTO_BaseTable, containing properties for label, field name, type, and sor |
| [DTO_ChangeEventHeader](/reference/apex/dto-changeeventheader) | A Data Transfer Object (DTO) exposing the supported subset of EventBus.ChangeEventHeader to Flow as  |
| [DTO_FlowValidationError](/reference/apex/dto-flowvalidationerror) | Represents a single validation error or warning for Flow display. Contains details about the validat |
| [DTO_NameValue](/reference/apex/dto-namevalue) | DTO class for name-value pairs, used in invocable methods for data mapping, such as merge fields or  |
| [DTO_NameValues](/reference/apex/dto-namevalues) | Class for managing and transferring key-value pairs, represented as names and values, between classe |
| [DTO_PickList](/reference/apex/dto-picklist) | A Data Transfer Object (DTO) representing a single picklist and all associated values. This class is |
| [DTO_PicklistValue](/reference/apex/dto-picklistvalue) | A Data Transfer Object (DTO) representing a single picklist value. This object includes details abou |

## DML

| Name | Description |
|------|-------------|
| [DML_Builder](/reference/apex/dml-builder) | Fluent DML API for building and running database operations: you set it up by chaining method calls. |
| [DML_Builder.DatabaseOperation](/reference/apex/dml-builder-databaseoperation) | Enum to specify the type of DML operation for external use. |
| [DML_Builder.DML_AsyncBuilder](/reference/apex/dml-builder-dml-asyncbuilder) | Runs DML in an async job. It groups the registered operations by type and hands them to PROC_Execute |
| [DML_Builder.TransactionResult](/reference/apex/dml-builder-transactionresult) | Result object returned by execute() containing the outcome of all DML operations in the transaction. |
| [DML_Transaction](/reference/apex/dml-transaction) | The engine that saves a set of DML operations across many SObjects as one transaction. This set is c |

## Email

| Name | Description |
|------|-------------|
| [FLOW_SendEmail](/reference/apex/flow-sendemail) | Provides an invocable entry point for sending emails via Salesforce Flow with advanced capabilities. |
| [FLOW_SendEmail.DTO_Request](/reference/apex/flow-sendemail-dto-request) | Data Transfer Object (DTO) representing the input parameters for a single email request. |
| [FLOW_SendEmail.DTO_Response](/reference/apex/flow-sendemail-dto-response) | Data Transfer Object (DTO) representing the outcome of an email request. |
| [UTIL_Email](/reference/apex/util-email) | Utility class for validating and sending emails within the Salesforce platform. Includes a unicode-a |
| [UTIL_Email.DeliverabilityAccessLevel](/reference/apex/util-email-deliverabilityaccesslevel) | Enum representing the three possible email deliverability settings in a Salesforce org. |

## Feature Flags

| Name | Description |
|------|-------------|
| [FLOW_CheckFeatureFlag](/reference/apex/flow-checkfeatureflag) | This class is used in Flows to check whether a specific feature flag is enabled. It provides a metho |
| [UTIL_FeatureFlag](/reference/apex/util-featureflag) | Provides static methods to check if a feature is enabled. It reads Custom Metadata records to determ |
| [UTIL_FeatureFlag.INT_FeatureFlagStrategy](/reference/apex/util-featureflag-int-featureflagstrategy) | The global interface for all feature evaluation strategies. Implement this interface and reference y |
| [UTIL_FeatureFlag.INT_UserAwareFeatureFlagStrategy](/reference/apex/util-featureflag-int-userawarefeatureflagstrategy) | Extended interface for custom strategies that support user context evaluation. Implement this interf |

## Logging

| Name | Description |
|------|-------------|
| [FLOW_LoggerEnd](/reference/apex/flow-loggerend) | Ends a logging correlation for a Flow. Use this at the end of a Flow to log completion status. |
| [FLOW_LoggerEnd.DTO_Request](/reference/apex/flow-loggerend-dto-request) | Input parameters for ending Flow correlation. |
| [FLOW_LoggerLog](/reference/apex/flow-loggerlog) | Logs an event within a Flow with correlation support. Use this to log messages, warnings, or errors  |
| [FLOW_LoggerLog.DTO_Request](/reference/apex/flow-loggerlog-dto-request) | Input parameters for logging a Flow event. |
| [FLOW_LoggerStart](/reference/apex/flow-loggerstart) | Starts a logging correlation for a Flow. Use this at the beginning of a Flow to generate a correlati |
| [FLOW_LoggerStart.DTO_Request](/reference/apex/flow-loggerstart-dto-request) | Input parameters for starting Flow correlation. |
| [FLOW_LoggerStart.DTO_Response](/reference/apex/flow-loggerstart-dto-response) | Output containing the generated correlation ID. |
| [FLOW_WriteLog](/reference/apex/flow-writelog) | Provides an invocable method for logging messages at specified levels (DEBUG, INFO, WARN, ERROR) fro |
| [FLOW_WriteLog.DTO_Request](/reference/apex/flow-writelog-dto-request) | Data Transfer Object (DTO) for log requests, specifying log level, message details, and context. |
| [LOG_Builder](/reference/apex/log-builder) | Primary logging interface for application debugging, monitoring, and error tracking. Uses a fluent b |
| [LOG_Builder.LogEntry](/reference/apex/log-builder-logentry) | Fluent builder for constructing rich log entries with context. Provides a chainable API for setting  |
| [LOG_Builder.LogScope](/reference/apex/log-builder-logscope) | A logging scope that buffers log entries until closed. On creation, suspends immediate log publishin |
| [TRG_LogEntryEvent](/reference/apex/trg-logentryevent) | Log entry event trigger for handling log events |

## Omnistudio

| Name | Description |
|------|-------------|
| [SVC_Omnistudio](/reference/apex/svc-omnistudio) | SVC_Omnistudio is a factory class that implements the Callable interface and is designed to instanti |
| [SVC_Omnistudio.OmniCallable](/reference/apex/svc-omnistudio-omnicallable) | A global inner interface that allows the SVC_Omnistudio class to instantiate a class and perform an  |
| [SVC_Omnistudio.Parameters](/reference/apex/svc-omnistudio-parameters) | A Data Transfer Object (DTO) used to wrap the original parameters provided by Omnistudio, organizing |

## Query Infrastructure

| Name | Description |
|------|-------------|
| [IF_Queryable](/reference/apex/if-queryable) | Interface for any object that can execute a query. Implemented by QRY_Builder.Builder and SEL_Base.  |
| [QRY_Builder](/reference/apex/qry-builder) | Modern fluent query builder - the primary entry point for constructing and executing SOQL queries. P |
| [QRY_Builder.AggregateRow](/reference/apex/qry-builder-aggregaterow) | Typed wrapper around AggregateResult for convenient value access. Provides typed accessors that elim |
| [QRY_Builder.Builder](/reference/apex/qry-builder-builder) | Extensible query builder class. Maintains internal query state and uses QRY_Generator for SOQL build |
| [QRY_Builder.ConditionBuilder](/reference/apex/qry-builder-conditionbuilder) | Fluent builder for field-level conditions (WHERE and HAVING). |
| [QRY_Builder.DataCategoryBuilder](/reference/apex/qry-builder-datacategorybuilder) | Fluent builder for WITH DATA CATEGORY filters. |
| [QRY_Builder.QueryPage](/reference/apex/qry-builder-querypage) | Result container for paged queries, providing records and pagination metadata. |
| [QRY_Builder.Scope](/reference/apex/qry-builder-scope) | Enumeration of valid SOQL scope values for use with the USING SCOPE clause. |
| [QRY_Condition](/reference/apex/qry-condition) | Condition infrastructure for building complex SOQL WHERE clauses. Use these classes with QRY_Builder |
| [QRY_Condition.AndCondition](/reference/apex/qry-condition-andcondition) | Represents a SOQL "AND" condition group. |
| [QRY_Condition.DateLiteral](/reference/apex/qry-condition-dateliteral) | Provides SOQL date literal values for use in QRY_Builder conditions. Implements Evaluable so date li |
| [QRY_Condition.Evaluable](/reference/apex/qry-condition-evaluable) | Interface for condition classes. Pass to QRY_Builder.addCondition(). |
| [QRY_Condition.FieldCondition](/reference/apex/qry-condition-fieldcondition) | Represents a condition in a SOQL WHERE clause based on a specific field, operator, and value. |
| [QRY_Condition.Nestable](/reference/apex/qry-condition-nestable) | Interface for condition containers that support adding nested conditions. Extends Evaluable so group |
| [QRY_Condition.Operator](/reference/apex/qry-condition-operator) | SOQL comparison operators used to build query conditions. Operator SOQL Description EQUALS = Equal t |
| [QRY_Condition.OrCondition](/reference/apex/qry-condition-orcondition) | Represents a SOQL "OR" condition group. |
| [QRY_Condition.SoqlOptions](/reference/apex/qry-condition-soqloptions) | Options for SOQL generation. |
| [QRY_Condition.UnitOfTime](/reference/apex/qry-condition-unitoftime) | Units of time for SOQL date literals. |
| [QRY_Function](/reference/apex/qry-function) | Typed SOQL function expressions for use in the query builder's SELECT, GROUP BY, WHERE and ORDER BY  |

## Resilience

| Name | Description |
|------|-------------|
| [UTIL_CircuitBreaker](/reference/apex/util-circuitbreaker) | Factory for creating circuit breaker instances to prevent cascading failures and provide fast failur |
| [UTIL_CircuitBreaker.Breaker](/reference/apex/util-circuitbreaker-breaker) | Interface for circuit breaker operations. This interface defines the contract for circuit breaker be |
| [UTIL_CircuitBreaker.Metrics](/reference/apex/util-circuitbreaker-metrics) | Public class containing circuit breaker metrics |
| [UTIL_CircuitBreaker.OpenException](/reference/apex/util-circuitbreaker-openexception) | Exception thrown when circuit breaker is OPEN and blocks a request |
| [UTIL_CircuitBreaker.ProtectedAction](/reference/apex/util-circuitbreaker-protectedaction) | Interface for code that needs circuit breaker protection (no return value) Implement this interface  |
| [UTIL_CircuitBreaker.Provider](/reference/apex/util-circuitbreaker-provider) | Interface for code that needs circuit breaker protection (with return value) Implement this interfac |
| [UTIL_CircuitBreaker.State](/reference/apex/util-circuitbreaker-state) | Enum representing the circuit breaker state |
| [UTIL_Retry](/reference/apex/util-retry) | Factory for retry strategies with nested interface definitions. Provides a clean API for creating an |
| [UTIL_Retry.Context](/reference/apex/util-retry-context) | Interface defining the retry context. Contains information about the current retry attempt including |
| [UTIL_Retry.Strategy](/reference/apex/util-retry-strategy) | Interface defining the retry strategy logic. Implement this interface to create custom retry strateg |

## Schedulables

| Name | Description |
|------|-------------|
| [DTO_ScheduledParameterDefinition](/reference/apex/dto-scheduledparameterdefinition) | A Data Transfer Object describing a single parameter definition supported by a scheduled job class.  |
| [DTO_ScheduledParameterDefinition.DataType](/reference/apex/dto-scheduledparameterdefinition-datatype) | Enumeration of supported input data types for scheduled job parameters. |
| [IF_Schedulable](/reference/apex/if-schedulable) | An interface for a Schedulable class that can declare the parameters it supports and receive validat |
| [SCHED_Base](/reference/apex/sched-base) | Abstract base class for scheduled jobs that support configurable parameters. Implements IF_Schedulab |
| [SCHED_JobRunner](/reference/apex/sched-jobrunner) | The job runner's scheduled job. Health Check schedules this class once per chosen minute mark (one t |
| [SCHED_ProcessLoginHistory](/reference/apex/sched-processloginhistory) | Scheduled job that runs daily to process login history data. Launches PROC_LoginFrequencyAggregator  |

## Selectors

| Name | Description |
|------|-------------|
| [IF_Search](/reference/apex/if-search) | Generic Interface for searches |
| [SEL_Base](/reference/apex/sel-base) | Abstract base class for all selectors. Provides lazy-loaded field management and IF_Queryable implem |
| [SEL_ContentVersion](/reference/apex/sel-contentversion) | Selector for the ContentVersion object. Provides query methods for retrieving content versions by pu |
| [SEL_EmailTemplate](/reference/apex/sel-emailtemplate) | Selector for the EmailTemplate SObject. Provides default field configuration and query methods for E |
| SEL_Foobar | Selector for the Foobar__c SObject. Provides query methods and field/metadata constants for the fram |
| [SEL_Group](/reference/apex/sel-group) | Selector for Salesforce Group objects. Provides query methods for group lookup and recursive group m |
| [SEL_Hierarchy](/reference/apex/sel-hierarchy) | Data Access Layer for managing self-referencing hierarchical relationships. Provides methods to trav |
| [SEL_Hierarchy.Selector](/reference/apex/sel-hierarchy-selector) | Selector class that provides hierarchy operations for a specific SObject type. Created via SEL_Hiera |
| [SEL_ObjectPermission](/reference/apex/sel-objectpermission) | Provides methods for querying and evaluating user access permissions on Salesforce objects. Simplifi |
| [SEL_ObjectPermission.ObjectPermissionType](/reference/apex/sel-objectpermission-objectpermissiontype) | A Permission that a User might have on a SObjectType. |
| [SEL_OrgWideEmailAddress](/reference/apex/sel-orgwideemailaddress) | Selector for the OrgWideEmailAddress SObject. Provides query methods for retrieving organization-wid |
| [SEL_PermissionSet](/reference/apex/sel-permissionset) | Selector for the PermissionSet SObject. Provides default field configuration and query methods for P |
| [SEL_PermissionSetGroup](/reference/apex/sel-permissionsetgroup) | Selector for the PermissionSetGroup SObject. Provides default field configuration and query methods  |
| [SEL_Profile](/reference/apex/sel-profile) | Selector for the Profile SObject. Provides default field configuration, query methods, and commonly  |
| [SEL_User](/reference/apex/sel-user) | Selector for the User SObject. Provides default field configuration and query methods for User recor |
| [SEL_UserRole](/reference/apex/sel-userrole) | Selector for the UserRole SObject. Provides query methods for retrieving user roles and traversing t |

## Testing

| Name | Description |
|------|-------------|
| [API_InboundTestHelper](/reference/apex/api-inboundtesthelper) | Class has base methods that can be used to assist with testing inbound service calls |
| [API_OutboundTestHelper](/reference/apex/api-outboundtesthelper) | Class has base methods that can be used to test an outbound service. |
| TRG_Foobar | Example trigger demonstrating the Trigger Action framework |
| [TST_Builder](/reference/apex/tst-builder) | An advanced factory for creating and inserting SObject records for Apex tests. This class provides a |
| [TST_Builder.Builder](/reference/apex/tst-builder-builder) | A fluent builder for configuring and creating SObject records: you set it up by chaining method call |
| [TST_Builder.DefaultFieldValueProvider](/reference/apex/tst-builder-defaultfieldvalueprovider) | Base class for field-level default value providers. @note Using a virtual class instead of an interf |
| [TST_Builder.DefaultValueProvider](/reference/apex/tst-builder-defaultvalueprovider) | Base class for default value providers. Extend 'UTIL_SObjectBuilderDefaultProvider' (which extends t |
| [TST_Factory](/reference/apex/tst-factory) | Factory class that builds test data for your unit tests. It has helpers for: users (new or inserted, |
| [TST_Mock](/reference/apex/tst-mock) | Central registry and fluent builder for mock SObjects. Wraps QRY_Builder.setMock() with lifecycle ma |
| [TST_Mock.MockBuilder](/reference/apex/tst-mock-mockbuilder) | Fluent builder wrapper that delegates to TST_Builder.Builder for record construction and auto-regist |
| [UTIL_SObjectBuilderDefaultProvider](/reference/apex/util-sobjectbuilderdefaultprovider) | Provides the default value generation logic for the SObjectBuilder. Extend THIS class to override de |
| [UTIL_ValidationTestHelper](/reference/apex/util-validationtesthelper) | Reusable utility class for testing validation rules. This is NOT a test class itself but provides as |

## Triggers

| Name | Description |
|------|-------------|
| [FLOW_BypassTrigger](/reference/apex/flow-bypasstrigger) | Flow invocable action to manage trigger bypasses. Supports bypassing a specific trigger action or ob |
| [FLOW_BypassTrigger.DTO_Request](/reference/apex/flow-bypasstrigger-dto-request) | Request DTO for the Trigger Bypass invocable action. |
| [FLOW_CheckTriggerBypassed](/reference/apex/flow-checktriggerbypassed) | This class is used to check whether certain triggers or actions are bypassed in the system. The clas |
| [FLOW_CheckTriggerBypassed.DTO_Request](/reference/apex/flow-checktriggerbypassed-dto-request) | A DTO indicating what action has been bypassed |
| [IF_Trigger](/reference/apex/if-trigger) | Contracts for metadata-driven trigger action handlers. Each nested interface corresponds to a Salesf |
| [IF_Trigger.AfterDelete](/reference/apex/if-trigger-afterdelete) | Handler contract for the after-delete trigger event. |
| [IF_Trigger.AfterInsert](/reference/apex/if-trigger-afterinsert) | Handler contract for the after-insert trigger event. |
| [IF_Trigger.AfterUndelete](/reference/apex/if-trigger-afterundelete) | Handler contract for the after-undelete trigger event. |
| [IF_Trigger.AfterUpdate](/reference/apex/if-trigger-afterupdate) | Handler contract for the after-update trigger event. |
| [IF_Trigger.BeforeDelete](/reference/apex/if-trigger-beforedelete) | Handler contract for the before-delete trigger event. |
| [IF_Trigger.BeforeInsert](/reference/apex/if-trigger-beforeinsert) | Handler contract for the before-insert trigger event. |
| [IF_Trigger.BeforeUpdate](/reference/apex/if-trigger-beforeupdate) | Handler contract for the before-update trigger event. |
| [IF_Trigger.PostAction](/reference/apex/if-trigger-postaction) | Handler contract for a post-trigger action — an Apex class that runs exactly once at the end of a tr |
| [IF_Trigger.PostActionContext](/reference/apex/if-trigger-postactioncontext) | Context handed to a post-trigger action when the dispatcher unwinds the outermost trigger dispatch.  |
| [IF_Trigger.PostActionEntryCriteria](/reference/apex/if-trigger-postactionentrycriteria) | Optional entry-criteria contract for a post-trigger action. Implementing classes are referenced from |
| [TRG_Base](/reference/apex/trg-base) | The base class for trigger actions, designed to be extended and implement relevant interfaces. This  |
| [TRG_Base.BypassType](/reference/apex/trg-base-bypasstype) | Indicates the type of trigger bypass being applied. |
| [TRG_Dispatcher](/reference/apex/trg-dispatcher) | Factory class for instantiating and executing configured trigger actions. Manages the lifecycle of t |
| [TST_InvokeFlowMock](/reference/apex/tst-invokeflowmock) | Test mock harness for TRG_InvokeFlow-dispatched flows. Lets test authors register canned flow respon |
| [TST_InvokeFlowMock.MockBuilder](/reference/apex/tst-invokeflowmock-mockbuilder) | Fluent builder for registering a mock flow response. |

## Utilities

| Name | Description |
|------|-------------|
| [FLOW_CheckObjectPermissions](/reference/apex/flow-checkobjectpermissions) | Will check what the current user's object permissions are |
| [FLOW_CheckObjectPermissions.DTO_Request](/reference/apex/flow-checkobjectpermissions-dto-request) | DTO containing the name of the object for which to object permissions |
| [FLOW_CheckObjectPermissions.DTO_Response](/reference/apex/flow-checkobjectpermissions-dto-response) | DTO containing the permissions per object provided in request. |
| [FLOW_GetPicklistValues](/reference/apex/flow-getpicklistvalues) | Invocable method to get all the picklist values for a particular object for a given record type. Del |
| [FLOW_GetPicklistValues.DTO_Request](/reference/apex/flow-getpicklistvalues-dto-request) | Request DTO containing the information required to retrieve picklist values. |
| [FLOW_GetPicklistValues.DTO_Response](/reference/apex/flow-getpicklistvalues-dto-response) | Provides the outcome of the picklist values retrieval. |
| [MAP_SObject](/reference/apex/map-sobject) | In-memory index for SObjects, indexed by one or more fields. Supports cross-object field references, |
| [UTIL_Cache](/reference/apex/util-cache) | Factory for Platform Cache instances with nested interface pattern. Provides intelligent cache manag |
| [UTIL_Cache.OperationResult](/reference/apex/util-cache-operationresult) | Result of a cache operation with detailed status information |
| [UTIL_Cache.Scope](/reference/apex/util-cache-scope) | Cache type enumeration |
| [UTIL_Cache.Status](/reference/apex/util-cache-status) | Operation status enumeration |
| [UTIL_Cache.Store](/reference/apex/util-cache-store) | Interface for Platform Cache operations |
| [UTIL_Date](/reference/apex/util-date) | Provides date and datetime helper operations such as business day arithmetic, weekday/weekend checks |
| [UTIL_Exceptions](/reference/apex/util-exceptions) | Centralised container for framework-specific exception types. Groups related exception classes under |
| [UTIL_Exceptions.ConfigurationException](/reference/apex/util-exceptions-configurationexception) | Thrown when required platform configuration is absent or malformed. Typical triggers include missing |
| [UTIL_Exceptions.IllegalStateException](/reference/apex/util-exceptions-illegalstateexception) | Thrown when an operation is attempted on an object whose internal state does not support that operat |
| [UTIL_Exceptions.NotFoundException](/reference/apex/util-exceptions-notfoundexception) | Thrown when a lookup for a specific record or resource yields no results. Commonly raised by selecto |
| [UTIL_FormulaContext](/reference/apex/util-formulacontext) | Container for pre-built formula evaluation context classes for standard Salesforce objects.  This cl |
| [UTIL_FormulaContext.AccountContext](/reference/apex/util-formulacontext-accountcontext) | Formula evaluation context for Account object.  Provides typed access to Account records in formula  |
| [UTIL_FormulaContext.ApiCallContext](/reference/apex/util-formulacontext-apicallcontext) | Formula evaluation context for ApiCall__c records, the records that log each API call. A context cla |
| [UTIL_FormulaContext.ApiIssueContext](/reference/apex/util-formulacontext-apiissuecontext) | Formula evaluation context for ApiIssue__c records, the records that log each failed API call. A con |
| [UTIL_FormulaContext.CampaignContext](/reference/apex/util-formulacontext-campaigncontext) | Formula evaluation context for Campaign object. Provides typed access to Campaign records in formula |
| [UTIL_FormulaContext.CaseContext](/reference/apex/util-formulacontext-casecontext) | Formula evaluation context for Case object. Provides typed access to Case records in formula evaluat |
| [UTIL_FormulaContext.ContactContext](/reference/apex/util-formulacontext-contactcontext) | Formula evaluation context for Contact object. Provides typed access to Contact records in formula e |
| [UTIL_FormulaContext.EventContext](/reference/apex/util-formulacontext-eventcontext) | Formula evaluation context for Event object. Provides typed access to Event records in formula evalu |
| UTIL_FormulaContext.FoobarBulkContext | For testing only. This class exists only so the framework's own tests can check that the preLoad() m |
| UTIL_FormulaContext.FoobarContext | Formula evaluation context for Foobar__c test object. Provides typed access to Foobar__c records in  |
| [UTIL_FormulaContext.LeadContext](/reference/apex/util-formulacontext-leadcontext) | Formula evaluation context for Lead object. Provides typed access to Lead records in formula evaluat |
| [UTIL_FormulaContext.OpportunityContext](/reference/apex/util-formulacontext-opportunitycontext) | Formula evaluation context for Opportunity object. Provides typed access to Opportunity records in f |
| [UTIL_FormulaContext.TaskContext](/reference/apex/util-formulacontext-taskcontext) | Formula evaluation context for Task object. Provides typed access to Task records in formula evaluat |
| [UTIL_FormulaContext.UserContext](/reference/apex/util-formulacontext-usercontext) | Formula evaluation context for User object. Provides typed access to User records in formula evaluat |
| [UTIL_FormulaFilter](/reference/apex/util-formulafilter) | Class that can filter list of SObject based on Formula Information provided adapted from:apex-trigge |
| [UTIL_FormulaFilter.DTO_FilterResults](/reference/apex/util-formulafilter-dto-filterresults) | Inner class representing the result of the filter method. |
| [UTIL_FormulaFilter.INT_SObjectFormulaEvaluationContext](/reference/apex/util-formulafilter-int-sobjectformulaevaluationcontext) | Interface for providing context data to dynamic formula evaluations using Salesforce's FormulaEval n |
| [UTIL_JsonPath](/reference/apex/util-jsonpath) | Utility class to streamline parsing nested JSON data structures. Provides methods to navigate and ex |
| [UTIL_JsonPath.MissingKeyException](/reference/apex/util-jsonpath-missingkeyexception) | Custom exception thrown when a JSON path key cannot be resolved. |
| [UTIL_Limits](/reference/apex/util-limits) | Fluent interface for inspecting Salesforce governor limits. Provides named factory methods per limit |
| [UTIL_Limits.LimitCheck](/reference/apex/util-limits-limitcheck) | Fluent limit inspector scoped to a single governor limit type. Provides methods to check remaining b |
| [UTIL_List](/reference/apex/util-list) | Various list utilities for manipulating lists of objects and SObjects. This class provides methods f |
| [UTIL_Map](/reference/apex/util-map) | Static helper methods for common Map operations in Apex, including key-value transformation, entry j |
| [UTIL_Map.CaseInsensitiveMap](/reference/apex/util-map-caseinsensitivemap) | A Map implementation that performs case-insensitive key lookups. Keys are normalised to lower case f |
| [UTIL_Random](/reference/apex/util-random) | Generates random values across multiple data types for testing and development, including numbers, s |
| [UTIL_SessionEncryption](/reference/apex/util-sessionencryption) | Utility class providing bi-directional encryption and decryption capabilities with automatic key man |
| [UTIL_Sharing](/reference/apex/util-sharing) | Utility class for managing SObject record sharing. Provides methods for both permanent and time-boun |
| [UTIL_SObject](/reference/apex/util-sobject) | SObject runtime operations — filtering, field extraction, list-to-map conversion, and dot-notation f |
| [UTIL_SObjectDescribe](/reference/apex/util-sobjectdescribe) | A semi-intelligent wrapper for standard Apex Schema methods, providing internal caching to avoid hit |
| [UTIL_SObjectDescribe.FieldListBuilder](/reference/apex/util-sobjectdescribe-fieldlistbuilder) | Builds a comma-separated field list from SObjectField tokens and optional FieldSet definitions. |
| [UTIL_SObjectDescribe.FieldsMap](/reference/apex/util-sobjectdescribe-fieldsmap) | A subclass of NamespacedAttributeMap for handling field maps returned by DescribeSObjectResult.field |
| [UTIL_SObjectDescribe.GlobalDescribeMap](/reference/apex/util-sobjectdescribe-globaldescribemap) | A subclass of NamespacedAttributeMap for handling global describe data returned by getGlobalDescribe |
| [UTIL_String](/reference/apex/util-string) | Various string manipulation utilities |
| [UTIL_System](/reference/apex/util-system) | Namespace, type resolution, and platform utility methods. Provides runtime introspection for managed |
| [UTIL_TypeResolver](/reference/apex/util-typeresolver) | Utility class containing type resolution components for resolving Apex class types. |
| [UTIL_TypeResolver.BaseClassResolver](/reference/apex/util-typeresolver-baseclassresolver) | Abstract base class for implementing custom type resolvers, typically registered via custom metadata |
| [UTIL_TypeResolver.INT_ClassTypeResolver](/reference/apex/util-typeresolver-int-classtyperesolver) | Interface for resolving Type objects from class names and chaining resolvers. Custom resolvers must  |

## Validation

| Name | Description |
|------|-------------|
| [FLOW_BypassValidation](/reference/apex/flow-bypassvalidation) | Flow invocable action to bypass validation rules for the current transaction. Use this before DML op |
| [FLOW_BypassValidation.DTO_Request](/reference/apex/flow-bypassvalidation-dto-request) | Request DTO for the Bypass Validation invocable action. Specifies which validation rules to bypass b |
| [FLOW_ClearValidationBypass](/reference/apex/flow-clearvalidationbypass) | Flow invocable action to clear validation rule bypasses for the current transaction. Use this after  |
| [FLOW_ClearValidationBypass.DTO_Request](/reference/apex/flow-clearvalidationbypass-dto-request) | Request DTO for the Clear Validation Bypass invocable action. Specifies which bypass to clear by nam |
| [FLOW_ExecuteValidationRules](/reference/apex/flow-executevalidationrules) | Flow invocable action to execute validation rules against records. Use this in Record-Triggered Flow |
| [FLOW_ExecuteValidationRules.DTO_Request](/reference/apex/flow-executevalidationrules-dto-request) | Request DTO for the Execute Validation Rules invocable action. Contains the records to validate and  |
| [FLOW_ExecuteValidationRules.DTO_Response](/reference/apex/flow-executevalidationrules-dto-response) | Response DTO for the Execute Validation Rules invocable action. Contains the validation results incl |
| [TRG_ExecuteValidationRules](/reference/apex/trg-executevalidationrules) | Pre-built trigger action that executes formula-driven validation rules. This class implements all tr |
| [UTIL_ValidationRule](/reference/apex/util-validationrule) | Formula-driven declarative validation framework for advanced validation scenarios that standard Sale |
| [UTIL_ValidationRule.INT_BulkValidationContext](/reference/apex/util-validationrule-int-bulkvalidationcontext) | Optional interface for context classes that load data once per batch. Validation rules and trigger a |
| [UTIL_ValidationRule.ValidationError](/reference/apex/util-validationrule-validationerror) | Represents a single validation error or warning. |
| [UTIL_ValidationRule.ValidationResult](/reference/apex/util-validationrule-validationresult) | Result of validating a single record. Contains all validation errors/warnings for that record. |

## Web Services

| Name | Description |
|------|-------------|
| [API_Base](/reference/apex/api-base) | Base class for all API web service calls (outbound and inbound). Provides common functionality for H |
| [API_Base.HttpMethod](/reference/apex/api-base-httpmethod) | HTTP method verbs for web service calls. |
| [API_Base.ServiceCallResult](/reference/apex/api-base-servicecallresult) | Tracks the request, response, and status of a web service call. |
| [API_Base.WebserviceStatus](/reference/apex/api-base-webservicestatus) | Enum representing the status of a web service call. |
| [API_CallCurrentOrg](/reference/apex/api-callcurrentorg) | Base API class for all handlers that call the current Org standard APIs. Uses session-ID-based authe |
| [API_Dispatcher](/reference/apex/api-dispatcher) | Factory class for orchestrating the execution of web service handlers. Manages the lifecycle of API  |
| [API_Inbound](/reference/apex/api-inbound) | Base class for all inbound REST API web service calls. Provides foundational functionality for handl |
| [API_MockFactory](/reference/apex/api-mockfactory) | Central factory for mock response management. Provides test isolation via scoped registries and supp |
| [API_MockFactory.MockBuilder](/reference/apex/api-mockfactory-mockbuilder) | Fluent builder for constructing and registering mock responses. |
| [API_MockFactory.MockResponse](/reference/apex/api-mockfactory-mockresponse) | Represents a mock HTTP response with fault simulation options. |
| [API_MockTestHelper](/reference/apex/api-mocktesthelper) | Test helper for API mock verification. Provides assertion methods that delegate to API_MockFactory v |
| [API_Outbound](/reference/apex/api-outbound) | Base class for all outbound web service calls. Extends API_Base to provide functionality for making  |
| [DTO_JsonBase](/reference/apex/dto-jsonbase) | A Data Transfer Object (DTO) base class for JSON serialization and deserialization, providing a fram |
| [FLOW_CallApi](/reference/apex/flow-callapi) | Invokes web service calls synchronously, allowing for integration with external systems from Salesfo |
| [FLOW_CallApi.DTO_Request](/reference/apex/flow-callapi-dto-request) | Data Transfer Object representing the web service call request. |
| [FLOW_CallApi.DTO_Response](/reference/apex/flow-callapi-dto-response) | Data Transfer Object representing the web service response or errors. |
| [FLOW_CallApiAsync](/reference/apex/flow-callapiasync) | Asynchronously invokes web service calls, allowing large or delayed API callouts to be processed out |
| [FLOW_RetryApiIssues](/reference/apex/flow-retryapiissues) | Runs the failed calls of the API issues you select again, in one background job: from the Retry Sele |
| [FLOW_RetryApiIssues.DTO_Request](/reference/apex/flow-retryapiissues-dto-request) | What the action is asked: the API issues to run again. |
| [FLOW_RetryApiIssues.DTO_Response](/reference/apex/flow-retryapiissues-dto-response) | What the action answers: the job, the count and a message for the person who asked. |
| [REST_Echo](/reference/apex/rest-echo) | REST Endpoint wrapper class for the inbound echo test service. This class serves as a RESTFUL endpoi |
| [SCHED_OutboundRetryWatchdog](/reference/apex/sched-outboundretrywatchdog) | A scheduled job that finds outbound calls the Retry Outbound Api Call flow will never send again, an |
| [SCHED_PerformBatchedCallouts](/reference/apex/sched-performbatchedcallouts) | The SCHED_PerformBatchedCallouts class is a scheduled job responsible for processing batched API cal |
| [SEL_ApiCall](/reference/apex/sel-apicall) | Selector for the ApiCall__c object. Provides query methods for service call management, status track |
| [SEL_ApiIssue](/reference/apex/sel-apiissue) | Selector for the ApiIssue__c SObject. Provides query methods for retrieving and filtering failed API |
| [TRG_ApiCall](/reference/apex/trg-apicall) | Trigger on ApiCall__c. It registers every trigger event, so a trigger action row you add for this ob |
| [TRG_ApiIssue](/reference/apex/trg-apiissue) | Trigger on ApiIssue__c. It registers every trigger event, so a trigger action row you add for this o |
| [UTIL_Exceptions.PermanentFailureException](/reference/apex/util-exceptions-permanentfailureexception) | Throw this from your own outbound handler code to say the failure is permanent: sending the same req |
| [UTIL_Exceptions.RequestRefusedException](/reference/apex/util-exceptions-requestrefusedexception) | Throw this from parseResponse() when the external system answered with a success status but its body |
| [UTIL_HttpClient](/reference/apex/util-httpclient) | Fluent HTTP client facade over the API_Dispatcher pipeline. Provides zero-boilerplate callouts with  |
| [UTIL_HttpClient.FailureAction](/reference/apex/util-httpclient-failureaction) | Defines the action to take when an HTTP call fails. |
| [UTIL_HttpClient.RequestBuilder](/reference/apex/util-httpclient-requestbuilder) | Fluent builder for configuring and executing HTTP requests through API_Dispatcher. |
