# KernDX API Reference

> Auto-generated documentation for the KernDX Framework

---

## I Need To...

| I need to... | Start with | Also see |
|--------------|------------|----------|
| **Read records with a query I build** | [QRY_Builder](/reference/apex/qry-builder) | [QRY_Condition](/reference/apex/qry-condition) |
| **Read records of one object** | [SEL_Base](/reference/apex/sel-base) | - |
| **Run code when records are saved** | [TRG_Dispatcher](/reference/apex/trg-dispatcher) | [TRG_Base](/reference/apex/trg-base), [IF_Trigger](/reference/apex/if-trigger) |
| **Call an outside system** | [API_Outbound](/reference/apex/api-outbound) | [DTO_JsonBase](/reference/apex/dto-jsonbase) |
| **Take calls from an outside system** | [API_Inbound](/reference/apex/api-inbound) | - |
| **Save records together, all or nothing** | [DML_Builder](/reference/apex/dml-builder) | [DML_Transaction](/reference/apex/dml-transaction) |
| **Log what happened** | [LOG_Builder](/reference/apex/log-builder) | - |
| **Create test data** | [TST_Builder](/reference/apex/tst-builder) | [TST_Factory](/reference/apex/tst-factory), [TST_Mock](/reference/apex/tst-mock) |
| **Turn a feature on or off** | [UTIL_FeatureFlag](/reference/apex/util-featureflag) | - |
| **Stop calling a service that keeps failing** | [UTIL_CircuitBreaker](/reference/apex/util-circuitbreaker) | [UTIL_Retry](/reference/apex/util-retry) |
| **Work with text** | [UTIL_String](/reference/apex/util-string) | - |
| **Work with dates** | [UTIL_Date](/reference/apex/util-date) | - |
| **Work with lists and maps** | [UTIL_List](/reference/apex/util-list) | [UTIL_Map](/reference/apex/util-map) |

---

## Overview

This reference contains **278 documented items** across the following categories:

| Category | Items | Description | Browse |
|----------|-------|-------------|--------|
| **Apex Classes** | 251 | Core Apex classes, utilities, and services | [Browse All](/reference/apex/) |
| **Custom Objects** | 11 | Custom SObjects in the package | [Browse All](/reference/objects/) |
| **Custom Metadata Types** | 15 | Configuration and settings metadata | [Browse All](/reference/metadata/) |
| **Platform Events** | 1 | Asynchronous event definitions | [Browse All](/reference/events/) |

---

## Apex Classes

### Query Infrastructure

Fluent SOQL builder, bind registry, conditions, and query engine. Use `QRY_Builder` for 95% of queries.

| Class | Description |
|-------|-------------|
| [QRY_Builder](/reference/apex/qry-builder) | Modern fluent query builder - the primary entry point for constructing and executing SOQL queries. |
| [QRY_Condition](/reference/apex/qry-condition) | Condition infrastructure for building complex SOQL WHERE clauses. |
| [IF_Queryable](/reference/apex/if-queryable) | Interface for any object that can execute a query. |
| [QRY_Builder.AggregateRow](/reference/apex/qry-builder-aggregaterow) | Typed wrapper around AggregateResult for convenient value access. |
| [QRY_Builder.Builder](/reference/apex/qry-builder-builder) | Extensible query builder class. |
| [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.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. |
| [QRY_Condition.Evaluable](/reference/apex/qry-condition-evaluable) | Interface for condition classes. |
| [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. |
| [QRY_Condition.Operator](/reference/apex/qry-condition-operator) | SOQL comparison operators used to build query conditions. |
| [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 clauses: the date... |

### Selectors

Object-specific query classes that extend `SEL_Base`. Define default fields and provide type-safe record retrieval via `findById()`, `findByField()`, and custom query methods.

| Class | Description |
|-------|-------------|
| [SEL_Base](/reference/apex/sel-base) | Abstract base class for all selectors. |
| [IF_Search](/reference/apex/if-search) | Generic Interface for searches |
| [SEL_ContentVersion](/reference/apex/sel-contentversion) | Selector for the ContentVersion object. |
| [SEL_EmailTemplate](/reference/apex/sel-emailtemplate) | Selector for the EmailTemplate SObject. |
| SEL_Foobar | Selector for the Foobar__c SObject. |
| [SEL_Group](/reference/apex/sel-group) | Selector for Salesforce Group objects. |
| [SEL_Hierarchy](/reference/apex/sel-hierarchy) | Data Access Layer for managing self-referencing hierarchical relationships. |
| [SEL_Hierarchy.Selector](/reference/apex/sel-hierarchy-selector) | Selector class that provides hierarchy operations for a specific SObject type. |
| [SEL_ObjectPermission](/reference/apex/sel-objectpermission) | Provides methods for querying and evaluating user access permissions on Salesforce objects. |
| [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. |
| [SEL_PermissionSet](/reference/apex/sel-permissionset) | Selector for the PermissionSet SObject. |
| [SEL_PermissionSetGroup](/reference/apex/sel-permissionsetgroup) | Selector for the PermissionSetGroup SObject. |
| [SEL_Profile](/reference/apex/sel-profile) | Selector for the Profile SObject. |
| [SEL_User](/reference/apex/sel-user) | Selector for the User SObject. |
| [SEL_UserRole](/reference/apex/sel-userrole) | Selector for the UserRole SObject. |

### DML and Unit of Work

Transactional DML with dependency management, partial success handling, and sharing enforcement. Use `DML_Builder.newTransaction()` for all DML operations.

| Class | 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_Transaction](/reference/apex/dml-transaction) | The engine that saves a set of DML operations across many SObjects as one transaction. |
| [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. |
| [DML_Builder.TransactionResult](/reference/apex/dml-builder-transactionresult) | Result object returned by execute() containing the outcome of all DML operations in the transaction. |

### Trigger Framework

Metadata-driven trigger dispatch. Configure trigger actions via `TriggerAction__mdt` custom metadata. Extend `TRG_Base` and implement `IF_Trigger` event interfaces.

| Class | Description |
|-------|-------------|
| [TRG_Dispatcher](/reference/apex/trg-dispatcher) | Factory class for instantiating and executing configured trigger actions. |
| [TRG_Base](/reference/apex/trg-base) | The base class for trigger actions, designed to be extended and implement relevant interfaces. |
| [IF_Trigger](/reference/apex/if-trigger) | Contracts for metadata-driven trigger action handlers. |
| [FLOW_BypassTrigger](/reference/apex/flow-bypasstrigger) | Flow invocable action to manage trigger bypasses. |
| [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. |
| [FLOW_CheckTriggerBypassed.DTO_Request](/reference/apex/flow-checktriggerbypassed-dto-request) | A DTO indicating what action has been bypassed |
| [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 trigger transaction... |
| [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. |
| [TRG_Base.BypassType](/reference/apex/trg-base-bypasstype) | Indicates the type of trigger bypass being applied. |
| [TST_InvokeFlowMock](/reference/apex/tst-invokeflowmock) | Test mock harness for TRG_InvokeFlow-dispatched flows. |
| [TST_InvokeFlowMock.MockBuilder](/reference/apex/tst-invokeflowmock-mockbuilder) | Fluent builder for registering a mock flow response. |

### Validation Rules

Validation rules written as formulas in custom metadata and run from a trigger or a flow, and flow actions that skip validation rules for one transaction.

| Class | Description |
|-------|-------------|
| [FLOW_BypassValidation](/reference/apex/flow-bypassvalidation) | Flow invocable action to bypass validation rules for the current transaction. |
| [FLOW_BypassValidation.DTO_Request](/reference/apex/flow-bypassvalidation-dto-request) | Request DTO for the Bypass Validation invocable action. |
| [FLOW_ClearValidationBypass](/reference/apex/flow-clearvalidationbypass) | Flow invocable action to clear validation rule bypasses for the current transaction. |
| [FLOW_ClearValidationBypass.DTO_Request](/reference/apex/flow-clearvalidationbypass-dto-request) | Request DTO for the Clear Validation Bypass invocable action. |
| [FLOW_ExecuteValidationRules](/reference/apex/flow-executevalidationrules) | Flow invocable action to execute validation rules against records. |
| [FLOW_ExecuteValidationRules.DTO_Request](/reference/apex/flow-executevalidationrules-dto-request) | Request DTO for the Execute Validation Rules invocable action. |
| [FLOW_ExecuteValidationRules.DTO_Response](/reference/apex/flow-executevalidationrules-dto-response) | Response DTO for the Execute Validation Rules invocable action. |
| [TRG_ExecuteValidationRules](/reference/apex/trg-executevalidationrules) | Pre-built trigger action that executes formula-driven validation rules. |
| [UTIL_ValidationRule](/reference/apex/util-validationrule) | Formula-driven declarative validation framework for advanced validation scenarios that standard Salesforce validation... |
| [UTIL_ValidationRule.INT_BulkValidationContext](/reference/apex/util-validationrule-int-bulkvalidationcontext) | Optional interface for context classes that load data once per batch. |
| [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. |

### Web Services

REST integration framework with automatic retry, circuit breaking, and queue-based processing. Configure endpoints via `ApiSetting__mdt`.

| Class | Description |
|-------|-------------|
| [API_Outbound](/reference/apex/api-outbound) | Base class for all outbound web service calls. |
| [API_Inbound](/reference/apex/api-inbound) | Base class for all inbound REST API web service calls. |
| [API_Base](/reference/apex/api-base) | Base class for all API web service calls (outbound and inbound). |
| [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. |
| [API_Dispatcher](/reference/apex/api-dispatcher) | Factory class for orchestrating the execution of web service handlers. |
| [API_MockFactory](/reference/apex/api-mockfactory) | Central factory for mock response management. |
| [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. |
| [DTO_JsonBase](/reference/apex/dto-jsonbase) | A Data Transfer Object (DTO) base class for JSON serialization and deserialization, providing a framework for transfo... |
| [FLOW_CallApi](/reference/apex/flow-callapi) | Invokes web service calls synchronously, allowing for integration with external systems from Salesforce using Flow. |
| [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 outside of immediate... |
| [FLOW_RetryApiIssues](/reference/apex/flow-retryapiissues) | Runs the failed calls of the API issues you select again, in one background job: from the Retry Selected action on th... |
| [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. |
| [SCHED_OutboundRetryWatchdog](/reference/apex/sched-outboundretrywatchdog) | A scheduled job that finds outbound calls the Retry Outbound Api Call flow will never send again, and deals with each... |
| [SCHED_PerformBatchedCallouts](/reference/apex/sched-performbatchedcallouts) | The SCHED_PerformBatchedCallouts class is a scheduled job responsible for processing batched API calls that are queue... |
| [SEL_ApiCall](/reference/apex/sel-apicall) | Selector for the ApiCall__c object. |
| [SEL_ApiIssue](/reference/apex/sel-apiissue) | Selector for the ApiIssue__c SObject. |
| [TRG_ApiCall](/reference/apex/trg-apicall) | Trigger on ApiCall__c. |
| [TRG_ApiIssue](/reference/apex/trg-apiissue) | Trigger on ApiIssue__c. |
| [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 request again cannot... |
| [UTIL_Exceptions.RequestRefusedException](/reference/apex/util-exceptions-requestrefusedexception) | Throw this from parseResponse() when the external system answered with a success status but its body says it refused ... |
| [UTIL_HttpClient](/reference/apex/util-httpclient) | Fluent HTTP client facade over the API_Dispatcher pipeline. |
| [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. |

### Data Transfer Objects

Base classes for JSON and XML serialization. All DTOs extend `DTO_JsonBase` and support automatic population from SObject records.

| Class | Description |
|-------|-------------|
| [DTO_Base](/reference/apex/dto-base) | An empty base class for Data Transfer Objects (DTOs). |
| [DTO_NameValues](/reference/apex/dto-namevalues) | Class for managing and transferring key-value pairs, represented as names and values, between classes. |
| [DTO_BaseTable](/reference/apex/dto-basetable) | A Data Transfer Object (DTO) class that structures webservice handler responses into a common table format, providing... |
| [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 sorting ability. |
| [DTO_ChangeEventHeader](/reference/apex/dto-changeeventheader) | A Data Transfer Object (DTO) exposing the supported subset of EventBus.ChangeEventHeader to Flow as a strongly-typed ... |
| [DTO_FlowValidationError](/reference/apex/dto-flowvalidationerror) | Represents a single validation error or warning for Flow display. |
| [DTO_NameValue](/reference/apex/dto-namevalue) | DTO class for name-value pairs, used in invocable methods for data mapping, such as merge fields or configuration set... |
| [DTO_PickList](/reference/apex/dto-picklist) | A Data Transfer Object (DTO) representing a single picklist and all associated values. |
| [DTO_PicklistValue](/reference/apex/dto-picklistvalue) | A Data Transfer Object (DTO) representing a single picklist value. |

### Logging

Platform event-based async logging with correlation IDs, structured context, and configurable filtering.

| Class | Description |
|-------|-------------|
| [LOG_Builder](/reference/apex/log-builder) | Primary logging interface for application debugging, monitoring, and error tracking. |
| [FLOW_LoggerEnd](/reference/apex/flow-loggerend) | Ends a logging correlation for a Flow. |
| [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. |
| [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. |
| [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) from Salesforce flows. |
| [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.LogEntry](/reference/apex/log-builder-logentry) | Fluent builder for constructing rich log entries with context. |
| [LOG_Builder.LogScope](/reference/apex/log-builder-logscope) | A logging scope that buffers log entries until closed. |
| [TRG_LogEntryEvent](/reference/apex/trg-logentryevent) | Log entry event trigger for handling log events |

### Data Masking

The exception thrown when a masking rule stops a record from being saved.

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

### Feature Flags

Runtime feature toggling with custom metadata configuration and pluggable evaluation strategies.

| Class | Description |
|-------|-------------|
| [UTIL_FeatureFlag](/reference/apex/util-featureflag) | Provides static methods to check if a feature is enabled. |
| [FLOW_CheckFeatureFlag](/reference/apex/flow-checkfeatureflag) | This class is used in Flows to check whether a specific feature flag is enabled. |
| [UTIL_FeatureFlag.INT_FeatureFlagStrategy](/reference/apex/util-featureflag-int-featureflagstrategy) | The global interface for all feature evaluation strategies. |
| [UTIL_FeatureFlag.INT_UserAwareFeatureFlagStrategy](/reference/apex/util-featureflag-int-userawarefeatureflagstrategy) | Extended interface for custom strategies that support user context evaluation. |

### Resilience Patterns

Circuit breaker, retry strategies (linear, exponential), and platform cache management for fault-tolerant integrations.

| Class | Description |
|-------|-------------|
| [UTIL_CircuitBreaker](/reference/apex/util-circuitbreaker) | Factory for creating circuit breaker instances to prevent cascading failures and provide fast failure when external s... |
| [UTIL_Retry](/reference/apex/util-retry) | Factory for retry strategies with nested interface definitions. |
| [UTIL_CircuitBreaker.Breaker](/reference/apex/util-circuitbreaker-breaker) | Interface for circuit breaker operations. |
| [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 to use the simpli... |
| [UTIL_CircuitBreaker.Provider](/reference/apex/util-circuitbreaker-provider) | Interface for code that needs circuit breaker protection (with return value) Implement this interface when your actio... |
| [UTIL_CircuitBreaker.State](/reference/apex/util-circuitbreaker-state) | Enum representing the circuit breaker state |
| [UTIL_Retry.Context](/reference/apex/util-retry-context) | Interface defining the retry context. |
| [UTIL_Retry.Strategy](/reference/apex/util-retry-strategy) | Interface defining the retry strategy logic. |

### Async Processing

Adaptive async job launching that automatically selects the optimal execution strategy (batch, queueable, future).

| Class | Description |
|-------|-------------|
| [UTIL_AsynchronousJobLauncher](/reference/apex/util-asynchronousjoblauncher) | Provides a simplified, static entry point for running complex asynchronous jobs using the UTIL_AdaptiveAsynchronousPr... |
| [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. |
| [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 to the log |
| [TRG_ScheduledJob](/reference/apex/trg-scheduledjob) | TRG_ScheduledJob activated by saving Scheduled Job records (rule: 1 record per periodic job setting). |
| [UTIL_AsynchronousJobLauncher.DTO_AsynchronousJobRequest](/reference/apex/util-asynchronousjoblauncher-dto-asynchronousjobrequest) | Request object for initiating an asynchronous process. |

### Async Chains

Runs a chain of queueable steps in order, with shared data, error handling and progress tracking, and marks a chain Stalled when it stops moving.

| Class | Description |
|-------|-------------|
| [IF_Chain](/reference/apex/if-chain) | A container for shared global interfaces used by the async chain orchestration framework. |
| [IF_Chain.Step](/reference/apex/if-chain-step) | Interface for defining the business logic of a single chain step. |
| [SCHED_ChainWatchdog](/reference/apex/sched-chainwatchdog) | A scheduled job that finds async chains stuck with no recent activity and marks them Stalled, firing each chain's per... |
| [TRG_AsyncChainExecution](/reference/apex/trg-asyncchainexecution) | Trigger on AsyncChainExecution__c. |
| [UTIL_AsyncChain](/reference/apex/util-asyncchain) | Lightweight async chain runner for sequencing jobs with shared state, error handling, and progress tracking. |
| [UTIL_AsyncChain.ApiStep](/reference/apex/util-asyncchain-apistep) | Chain step adapter that executes any API_Outbound handler as part of an async chain. |
| [UTIL_AsyncChain.ChainBuilder](/reference/apex/util-asyncchain-chainbuilder) | Fluent builder for configuring and executing an async chain. |
| [UTIL_AsyncChain.ChainContext](/reference/apex/util-asyncchain-chaincontext) | Shared state container passed between chain steps. |
| [UTIL_AsyncChain.ChainStatus](/reference/apex/util-asyncchain-chainstatus) | Typed, read-only snapshot of a chain execution returned by getChainStatus. |
| [UTIL_AsyncChain.ChainStep](/reference/apex/util-asyncchain-chainstep) | Abstract base class for individual steps in an async chain. |
| [UTIL_AsyncChain.StepResult](/reference/apex/util-asyncchain-stepresult) | Immutable result object returned by each ChainStep to indicate success or failure. |

### Utilities

Common utilities for strings, dates, numbers, collections, security, encryption, and system reflection.

| Class | Description |
|-------|-------------|
| [UTIL_String](/reference/apex/util-string) | Various string manipulation utilities |
| [UTIL_Date](/reference/apex/util-date) | Provides date and datetime helper operations such as business day arithmetic, weekday/weekend checks, ISO 8601 serial... |
| [UTIL_List](/reference/apex/util-list) | Various list utilities for manipulating lists of objects and SObjects. |
| [UTIL_Map](/reference/apex/util-map) | Static helper methods for common Map operations in Apex, including key-value transformation, entry joining, equality ... |
| [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. |
| [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. |
| [UTIL_Cache](/reference/apex/util-cache) | Factory for Platform Cache instances with nested interface pattern. |
| [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_Exceptions](/reference/apex/util-exceptions) | Centralised container for framework-specific exception types. |
| [UTIL_Exceptions.ConfigurationException](/reference/apex/util-exceptions-configurationexception) | Thrown when required platform configuration is absent or malformed. |
| [UTIL_Exceptions.IllegalStateException](/reference/apex/util-exceptions-illegalstateexception) | Thrown when an operation is attempted on an object whose internal state does not support that operation. |
| [UTIL_Exceptions.NotFoundException](/reference/apex/util-exceptions-notfoundexception) | Thrown when a lookup for a specific record or resource yields no results. |
| [UTIL_FormulaContext](/reference/apex/util-formulacontext) | Container for pre-built formula evaluation context classes for standard Salesforce objects. |
| [UTIL_FormulaContext.AccountContext](/reference/apex/util-formulacontext-accountcontext) | Formula evaluation context for Account object. |
| [UTIL_FormulaContext.ApiCallContext](/reference/apex/util-formulacontext-apicallcontext) | Formula evaluation context for ApiCall__c records, the records that log each API call. |
| [UTIL_FormulaContext.ApiIssueContext](/reference/apex/util-formulacontext-apiissuecontext) | Formula evaluation context for ApiIssue__c records, the records that log each failed API call. |
| [UTIL_FormulaContext.CampaignContext](/reference/apex/util-formulacontext-campaigncontext) | Formula evaluation context for Campaign object. |
| [UTIL_FormulaContext.CaseContext](/reference/apex/util-formulacontext-casecontext) | Formula evaluation context for Case object. |
| [UTIL_FormulaContext.ContactContext](/reference/apex/util-formulacontext-contactcontext) | Formula evaluation context for Contact object. |
| [UTIL_FormulaContext.EventContext](/reference/apex/util-formulacontext-eventcontext) | Formula evaluation context for Event object. |
| UTIL_FormulaContext.FoobarBulkContext | For testing only. |
| UTIL_FormulaContext.FoobarContext | Formula evaluation context for Foobar__c test object. |
| [UTIL_FormulaContext.LeadContext](/reference/apex/util-formulacontext-leadcontext) | Formula evaluation context for Lead object. |
| [UTIL_FormulaContext.OpportunityContext](/reference/apex/util-formulacontext-opportunitycontext) | Formula evaluation context for Opportunity object. |
| [UTIL_FormulaContext.TaskContext](/reference/apex/util-formulacontext-taskcontext) | Formula evaluation context for Task object. |
| [UTIL_FormulaContext.UserContext](/reference/apex/util-formulacontext-usercontext) | Formula evaluation context for User object. |
| [UTIL_FormulaFilter](/reference/apex/util-formulafilter) | Class that can filter list of SObject based on Formula Information provided adapted from:apex-trigger-actions-framework |
| [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 namespace. |
| [UTIL_JsonPath](/reference/apex/util-jsonpath) | Utility class to streamline parsing nested JSON data structures. |
| [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. |
| [UTIL_Limits.LimitCheck](/reference/apex/util-limits-limitcheck) | Fluent limit inspector scoped to a single governor limit type. |
| [UTIL_Map.CaseInsensitiveMap](/reference/apex/util-map-caseinsensitivemap) | A Map implementation that performs case-insensitive key lookups. |
| [UTIL_Random](/reference/apex/util-random) | Generates random values across multiple data types for testing and development, including numbers, strings, UUIDs, an... |
| [UTIL_SessionEncryption](/reference/apex/util-sessionencryption) | Utility class providing bi-directional encryption and decryption capabilities with automatic key management and expiry. |
| [UTIL_Sharing](/reference/apex/util-sharing) | Utility class for managing SObject record sharing. |
| [UTIL_SObject](/reference/apex/util-sobject) | SObject runtime operations — filtering, field extraction, list-to-map conversion, and dot-notation field value retrie... |
| [UTIL_SObjectDescribe](/reference/apex/util-sobjectdescribe) | A semi-intelligent wrapper for standard Apex Schema methods, providing internal caching to avoid hitting describe lim... |
| [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.fields.getMap(). |
| [UTIL_SObjectDescribe.GlobalDescribeMap](/reference/apex/util-sobjectdescribe-globaldescribemap) | A subclass of NamespacedAttributeMap for handling global describe data returned by getGlobalDescribe. |
| [UTIL_System](/reference/apex/util-system) | Namespace, type resolution, and platform utility methods. |
| [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. |

### Email

Checks email addresses and sends emails from Apex or a flow, with merge fields and activity logging.

| Class | 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. |
| [UTIL_Email.DeliverabilityAccessLevel](/reference/apex/util-email-deliverabilityaccesslevel) | Enum representing the three possible email deliverability settings in a Salesforce org. |

### Omnistudio

A `Callable` entry point that lets Omnistudio run an action on an Apex class named at run time.

| Class | Description |
|-------|-------------|
| [SVC_Omnistudio](/reference/apex/svc-omnistudio) | SVC_Omnistudio is a factory class that implements the Callable interface and is designed to instantiate and execute o... |
| [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 operation within ... |
| [SVC_Omnistudio.Parameters](/reference/apex/svc-omnistudio-parameters) | A Data Transfer Object (DTO) used to wrap the original parameters provided by Omnistudio, organizing them into distin... |

### Controllers

Aura and LWC server-side controllers for UI components.

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

### Schedulables

Configurable scheduled jobs with metadata-driven scheduling and batch size control.

| Class | 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 validated parameter valu... |
| [SCHED_Base](/reference/apex/sched-base) | Abstract base class for scheduled jobs that support configurable parameters. |
| [SCHED_JobRunner](/reference/apex/sched-jobrunner) | The job runner's scheduled job. |
| [SCHED_ProcessLoginHistory](/reference/apex/sched-processloginhistory) | Scheduled job that runs daily to process login history data. |

### Bulk DML

Batch processors for high-volume field updates and aggregation operations.

| Class | Description |
|-------|-------------|
| [PROC_ExecuteDML](/reference/apex/proc-executedml) | Processor for generic DML operations using the adaptive async framework. |
| [PROC_UpdateFields](/reference/apex/proc-updatefields) | Processor for bulk field updates using the adaptive async framework. |
| [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, configurable via... |
| [UTIL_BulkUpdates](/reference/apex/util-bulkupdates) | Utility methods used to initialize adaptive async jobs to update fields on multiple objects. |
| [UTIL_PurgeRecords](/reference/apex/util-purgerecords) | Provides utility methods for purging records from Salesforce objects using adaptive async processing. |

### Testing

Test data factories, mock builders, and test helpers. Use `TST_Builder` for record creation and `TST_Mock` for DML-free query interception.

| Class | Description |
|-------|-------------|
| [TST_Builder](/reference/apex/tst-builder) | An advanced factory for creating and inserting SObject records for Apex tests. |
| [TST_Factory](/reference/apex/tst-factory) | Factory class that builds test data for your unit tests. |
| [TST_Mock](/reference/apex/tst-mock) | Central registry and fluent builder for mock SObjects. |
| [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.Builder](/reference/apex/tst-builder-builder) | A fluent builder for configuring and creating SObject records: you set it up by chaining method calls. |
| [TST_Builder.DefaultFieldValueProvider](/reference/apex/tst-builder-defaultfieldvalueprovider) | Base class for field-level default value providers. |
| [TST_Builder.DefaultValueProvider](/reference/apex/tst-builder-defaultvalueprovider) | Base class for default value providers. |
| [TST_Mock.MockBuilder](/reference/apex/tst-mock-mockbuilder) | Fluent builder wrapper that delegates to TST_Builder.Builder for record construction and auto-registers built records... |
| [UTIL_SObjectBuilderDefaultProvider](/reference/apex/util-sobjectbuilderdefaultprovider) | Provides the default value generation logic for the SObjectBuilder. |
| [UTIL_ValidationTestHelper](/reference/apex/util-validationtesthelper) | Reusable utility class for testing validation rules. |

---

## Custom Objects

| Object | Description |
|--------|-------------|
| [ApiCall__c](/reference/objects/apicall-c) | Tracks API calls (inbound and outbound) through their full lifecycle. |
| [ApiIssue__c](/reference/objects/apiissue-c) | Tracks API integration issues for troubleshooting, manual resolution, and automatic retry of failed service calls. |
| [ApiRuntimeSwitch__c](/reference/objects/apiruntimeswitch-c) | Hierarchical custom setting that provides runtime API kill switches at the org, profile, or user level. |
| [AsyncChainExecution__c](/reference/objects/asyncchainexecution-c) | Tracks async chain executions including state, step definitions, shared context, and progress. |
| [AsyncChainRuntimeSwitch__c](/reference/objects/asyncchainruntimeswitch-c) | Hierarchical custom setting that controls whether async chain processing runs, at the org, profile, or user level. |
| Foobar__c | Test object for managed package unit tests. |
| [LogEntry__c](/reference/objects/logentry-c) | Persistent log entries captured by the Kern logging framework. |
| [LoginFrequency__c](/reference/objects/loginfrequency-c) | Tracks monthly login activity per user, including total login count and number of unique days logged in. |
| [LogSetting__c](/reference/objects/logsetting-c) | Controls logging behaviour: log level threshold, class filtering, performance logging thresholds, and context data si... |
| [ScheduledJob__c](/reference/objects/scheduledjob-c) | Declarative scheduled job configuration. |
| [ScheduleSetting__c](/reference/objects/schedulesetting-c) | Stores runtime state for scheduled jobs, such as the last successful execution time. |

---

## Platform Events

| Event | Description |
|--------|-------------|
| [LogEntryEvent__e](/reference/events/logentryevent-e) | High-volume platform event that transports log data asynchronously. |

---

## Custom Metadata Types

| Metadata | Description |
|--------|-------------|
| [ApiCredential__mdt](/reference/metadata/apicredential-mdt) | Links outbound API handlers to their Salesforce Named Credential for endpoint resolution and authentication. |
| [ApiMock__mdt](/reference/metadata/apimock-mdt) | Configures mock response scenarios for API services. |
| [ApiSetting__mdt](/reference/metadata/apisetting-mdt) | Configures outbound web service handlers with endpoint paths, retry behavior, circuit breaker settings, and failure l... |
| [AsynchronousJobSetting__mdt](/reference/metadata/asynchronousjobsetting-mdt) | Declarative configuration for asynchronous job classes. |
| [ClassTypeResolver__mdt](/reference/metadata/classtyperesolver-mdt) | Registers a subscriber-org class that resolves Apex class names to Types at runtime. |
| [FeatureFlag__mdt](/reference/metadata/featureflag-mdt) | This object is the master record for a single feature flag. |
| [FeatureFlagStrategy__mdt](/reference/metadata/featureflagstrategy-mdt) | Defines a single evaluation rule for a parent Feature Flag. |
| [FieldSetGroup__mdt](/reference/metadata/fieldsetgroup-mdt) | Groups multiple field sets for an object into a single configuration record. |
| [MaskingRule__mdt](/reference/metadata/maskingrule-mdt) | Defines a rule for masking sensitive data in a field — what to look for and what to replace it with. |
| [MaskingTarget__mdt](/reference/metadata/maskingtarget-mdt) | Applies a Masking Rule to a specific field on a specific object. |
| [PostTriggerAction__mdt](/reference/metadata/posttriggeraction-mdt) | Registers a single post-trigger action: one Apex class that runs once after all trigger actions set off by a save hav... |
| [TriggerAction__mdt](/reference/metadata/triggeraction-mdt) | Registers a single trigger action: one Apex class bound to one trigger event (e.g. |
| [TriggerSetting__mdt](/reference/metadata/triggersetting-mdt) | Parent configuration for all trigger actions on a single object. |
| [ValidationRule__mdt](/reference/metadata/validationrule-mdt) | Defines an individual validation rule with a formula-based condition, error message, and configuration options. |
| [ValidationRuleGroup__mdt](/reference/metadata/validationrulegroup-mdt) | Groups validation rules for a specific object and trigger context. |

---

*Generated from IcApexDoc*
