- Implements Salesforce best practices of 1 trigger per object & logicless triggers
- The abstract class SobjectTriggerHandler.cls handles determining the current context and calling 1 of 7 protected methods - triggers only have to call the public execute() method
- Provides recursion detection/prevention by checking the list of trigger records have already been processed
- Allows triggers to be enabled/disabled both globally and individually at the org, profile and user levels (hierarchy custom setting)
- Allows framework debug statements to be enabled/disabled
- Recursion prevention: in the event that there is a recursive loop, each handler detects that it has already processed the records and skips duplicated execution
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Apex Trigger Framework
License
jongpie/NebulaTriggerHandler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Apex Trigger Framework
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published