Commit Graph
142 Commits
Author SHA1 Message Date
wimvelzeboer 5357cd1189 Trigger Handler functionality
A trigger handler based on trigger actions configured via custom metadata. It separates the trigger logic per class, and is utilizing the fflib_UnitOfWork to execute the trigger actions.

Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2021-10-27 16:04:27 +01:00
William Velzeboer 87bfcecf34 Fix bug 2021-10-26 14:52:41 +01:00
wim e1ad29dbe4 Fix incompatibility with force-di 2021-10-21 10:56:05 +01:00
wim c26e4d1ba8 Rename of test folder from work to unitOfWork 2021-10-15 11:01:26 +01:00
wim bf230982f2 Disable unit test as they fail in other orgs 2021-10-15 09:32:49 +01:00
wim dbb11f2e1e Add a generic UnitOfWork functionality 2021-10-14 17:00:46 +01:00
wim ed3025d78c API Upgrade to 53.0 2021-10-11 15:28:15 +01:00
wim 67bac6dd7f Merge main branch 2021-10-11 14:05:32 +01:00
wim d4e6cff611 Package version upgrade to API 53.0 2021-10-11 13:53:08 +01:00
wim 797c93196e Add "fflib_" prefix to primitive domain test classes 2021-10-11 13:52:55 +01:00
wim 4b58dbb2d1 Add "fflib_" prefix to primitive domain classes 2021-10-11 13:52:55 +01:00
wim d8e7872c2b Fix build failure 2021-10-11 13:52:55 +01:00
Wim Velzeboer baebbe6d8b Add getChangedRecord method overloads 2021-10-11 13:52:55 +01:00
wim 698b6f2467 Add logger functionality plus API upgrade 2021-10-11 13:51:41 +01:00
wim 09578ffcc2 Add logger functionality plus API upgrade 2021-10-11 13:20:43 +01:00
wim a1af5b96ab Add "fflib_" prefix to primitive domain test classes 2021-10-07 10:15:59 +01:00
wim a358fef3c9 Add "fflib_" prefix to primitive domain classes 2021-10-05 10:22:23 +01:00
wim 029b76e2a0 Rename labels of Log Level picklist field 2021-09-30 11:51:37 +01:00
wim fa51e1d657 Package version upgrade to API 53.0 2021-09-30 11:14:55 +01:00
wim f3ee423925 Fix build failure 2021-09-24 21:12:10 +01:00
Wim Velzeboer e7d5193319 Add getChangedRecord method overloads 2021-09-20 14:53:12 +01:00
Wim Velzeboer 898ca0b0f4 Waiting for Winter'22 update to use enum.valueOf 2021-09-15 10:08:01 +01:00
Wim Velzeboer 75b2b703e5 Add Objects implementation 2021-08-23 12:53:02 +01:00
Wim Velzeboer 19cb9c8809 Fix bug in formula criteria 2021-08-23 12:06:21 +01:00
Wim Velzeboer 7e9c5a7fce Fix bug in formula criteria with only one condition 2021-08-12 08:41:33 +01:00
Wim Velzeboer d279ab6fc2 Add comparing to a formula string 2021-08-10 17:03:53 +01:00
Wim Velzeboer 3540e56fe8 Add comparing to related (parent) record field values 2021-08-10 13:28:21 +01:00
Wim Velzeboer 0277af7df2 Increase code coverage
Still in need of some work
2021-07-28 12:32:58 +01:00
Wim Velzeboer c3bc63b177 Buxfix incorrect error messing when binding not found 2021-07-08 14:49:47 +01:00
Wim Velzeboer 2806f63b95 Buxfix when no sharing is set in the selector factory
Null pointer exception thrown in selector factory when no sharing mode was set in the application.
2021-07-08 14:05:37 +01:00
Wim Velzeboer 8185e3416c Add method reference for Classic and Dynamic domain factories 2021-07-08 10:16:00 +01:00
Wim Velzeboer 372fa3f832 Add method reference for fflib_IDomainFactory
Also includes update to ApexDoc in existing interface class
2021-07-07 17:24:50 +01:00
Wim Velzeboer d5bfc3c48c Add documentation for fflib_Criteria 2021-07-06 16:32:38 +01:00
Wim Velzeboer fcb8fa62fd Made start with documentation with method reference 2021-07-06 13:14:20 +01:00
Wim Velzeboer 039e82d73c Add Dynamic Application Factory
This enabled realtime dependency injection for the fflib application.
By default the configuration comes from the Custom Metadata object fflib_AppBinding__mdt, but can be fully customised and extended.

Initial stuff
2021-07-02 13:57:11 +01:00
Wim Velzeboer 876fa80acb Add Array utils 2021-06-28 17:16:44 +01:00
Wim Velzeboer 8642a54b57 Add getter methods to domain for returning maps 2021-06-28 10:21:02 +01:00
Wim Velzeboer 67ef732925 Classic implementations for Application Factories
Adds additional functionality while maintaining backwards compatibility
2021-06-25 16:04:43 +01:00
Wim Velzeboer d28dbb6385 Interface structure for Application Factories 2021-06-25 12:52:49 +01:00
Wim Velzeboer fee08c99b9 Increase unit-test coverage to 85% 2021-06-25 11:30:27 +01:00
Wim Velzeboer 694f7a84a2 Remove Objects
The interface structure was incompatible so had to remove it and replace it again with fflib_Objects
2021-06-25 09:53:06 +01:00
Wim Velzeboer 910aa6e04c Add primitive domains and criteria feature 2021-06-24 12:15:06 +01:00