234 Commits
Author SHA1 Message Date
Wim Velzeboer 52fbc6da06 Run TriggerAction Selector in System Mode 2024-02-01 13:12:01 +00:00
William Velzeboer 1ff92e43e5 Merge pull request #55 from wimvelzeboer/feature/addStripInaccessibleFieldsMethodToDomain
Add stripInaccessibleFields method to the domain.
2024-01-19 11:56:03 +00:00
Wim Velzeboer 97e825d068 Add stripInaccessibleFields method to the domain. 2024-01-19 11:48:44 +00:00
William Velzeboer 31967fafad Merge pull request #53 from wimvelzeboer/IncreateCodeCoverage
Increase code coverage
2023-12-07 13:32:46 +00:00
Wim Velzeboer 4ccaf7afb1 Increase code coverage 2023-12-07 12:52:23 +00:00
Wim Velzeboer fbed669ab8 Increase code coverage 2023-12-07 09:53:39 +00:00
Wim Velzeboer 4310d8b4eb Make username more unique 2023-10-02 12:04:04 +01:00
Wim Velzeboer a2027017d5 Update IntelliJ Templates
Subclasses with sharing settings are no longer required as SOQL queries can now run in USER_MODE or SYSTEM_MODE.
2023-09-11 22:14:37 +01:00
William Velzeboer 17116e3c12 Merge pull request #52 from wimvelzeboer/feature/ImprovedDynamicApplicationFactory
Feature/improved dynamic application factory
2023-09-11 21:35:29 +01:00
wim d114fecf4f Remove Sharing Mode from Dynamic Application Factories
Sharing mode is no longer required as SOQL queries can now run in USER_MODE or SYSTEM_MODE.
2023-09-11 21:21:53 +01:00
wim 4390f83aef Remove Sharing Mode from Dynamic Application Factories
Sharing mode is no longer required as SOQL queries can now run in USER_MODE or SYSTEM_MODE.
2023-09-11 17:18:53 +01:00
wim 671cac07b3 Remove Sharing Mode from Dynamic Application Factories
Sharing mode is no longer required as SOQL queries can now run in USER_MODE or SYSTEM_MODE.
2023-09-11 17:16:45 +01:00
William Velzeboer 0311ef739e Merge pull request #51 from wimvelzeboer/feature/ImprovedDynamicApplicationFactory
Improve performance of Dynamic Application Factories
2023-09-01 15:51:10 +01:00
wim a0fc1bd10d Improve performance of Dynamic Application Factories
Also added a method overload to provide a Package Name.
Useful for DX based second generation packages. Now each package can have their own bindings.
2023-09-01 15:39:25 +01:00
William Velzeboer b658e6226b Merge pull request #50 from wimvelzeboer/feature/uuid
Add Uuid and HttpException. Logger now includes Uuid's
2023-08-01 14:00:20 +01:00
WimVelzeboer 752573c3cd Add Uuid and HttpException. Logger now includes Uuid's
Signed-off-by: WimVelzeboer <william@velzeboer.nl>
2023-08-01 12:19:18 +01:00
William Velzeboer c562691e2d Merge pull request #49 from wimvelzeboer/feature/ChildMapMethodForDomain
Refactor of getChildIdsById and getGrandParentIdById of fflib_SObject2
2023-04-27 11:34:43 +01:00
WimVelzeboer 1b03239c6d Refactor of getChildIdsById and getGrandParentIdById of fflib_SObject2
The methods are no longer depended on the domain method getRelatedFieldByDomainType, which could only relate a relationship with a single field. This change will allow to build the map with the correct fields when there are multiple relationships to the related SObjectType.

 for example if an SObject has two relations to Account; BillingAccountId and AccountId, then we can now specify in the method parameters which relationship should be taken.

Signed-off-by: WimVelzeboer <william@velzeboer.nl>
2023-04-27 11:27:45 +01:00
William Velzeboer 640d1605e9 Merge pull request #48 from wimvelzeboer/feature/ChildMapMethodForDomain
Add getChildIdsById to fflib_SObjects2
2023-04-20 16:45:02 +01:00
WimVelzeboer a4753d1db1 Add getChildIdsById to fflib_SObjects2
To retrieve a map of related ids from (grand-)child relationships

Signed-off-by: WimVelzeboer <william@velzeboer.nl>
2023-04-20 16:21:00 +01:00
William Velzeboer 18009957bf Merge pull request #47 from wimvelzeboer/feature/DomainMethods
Add getDecimalById to fflib_SObjects2
2023-04-13 20:23:21 +01:00
WimVelzeboer 3d9e8fae8a Add getDecimalById to fflib_SObjects2
Signed-off-by: WimVelzeboer <william@velzeboer.nl>
2023-04-13 11:10:45 +01:00
William Velzeboer d32d33ba28 Merge pull request #46 from wimvelzeboer/UpdateToSpring23
Upgrade to API 57.0
2023-04-13 10:57:40 +01:00
WimVelzeboer 59a2ea576a Upgrade to API 57.0
Including refactor to System.Asset class

Signed-off-by: WimVelzeboer <william@velzeboer.nl>
2023-04-13 10:42:53 +01:00
WimVelzeboer 5fffbd706a Update to latest dependency versions
Signed-off-by: WimVelzeboer <william@velzeboer.nl>
2023-01-11 11:40:02 +00:00
WimVelzeboer d192ebfa13 Update Change Log
Signed-off-by: WimVelzeboer <william@velzeboer.nl>
2022-11-11 13:26:13 +00:00
WimVelzeboer 97c1c6bc84 Update Change Log
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-11-11 11:43:53 +00:00
WimVelzeboer fc7c7ea316 Update Change Log
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-11-11 11:39:43 +00:00
WimVelzeboer f3b8f344bb Update Change Log
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-11-11 11:32:47 +00:00
wim f3d5ebef96 Add method overload for adding multiple read-only fields at once. 2022-09-23 15:38:57 +02:00
WimVelzeboer 4aef8f34f9 Add methods to fflib_Ids
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-06-22 13:01:53 +01:00
William Velzeboer 9f8a330058 Merge pull request #44 from wimvelzeboer/feature/SObjects2_getGrandParentIdById
Add domain method to map the record Id to a grand-grand-...-parent record Id
2022-05-25 13:55:37 +01:00
WimVelzeboer 0b4d878382 Add domain method to map the record Id to a grand-grand-...-parent record Id 2022-05-25 12:22:48 +01:00
William Velzeboer e1117f1991 Merge pull request #42 from wimvelzeboer/bugfix/UpgradeOfApexCommon
Avoid unexpected exceptions when the recordIds contains incorrect data
2022-05-10 15:29:29 +01:00
WimVelzeboer 601c45ab1b Avoid unexpected exceptions when the recordIds contains incorrect data
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-05-10 14:40:55 +01:00
William Velzeboer c22847274c Merge pull request #41 from wimvelzeboer/bugfix/UpgradeOfApexCommon
Fix for updated fflib-apex-common
2022-05-09 16:43:36 +01:00
WimVelzeboer 54490cc32d Fix for updated fflib-apex-common
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-05-09 16:05:54 +01:00
WimVelzeboer b514eddbcf Fix workflow for build
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-04-05 17:32:46 +01:00
William Velzeboer 06abca48d3 Merge pull request #39 from wimvelzeboer/feature/MoreDomainMethods
Add fflib_SObjects2.getRecords(sObjectField, Boolean) method
2022-03-21 07:20:01 +00:00
William Velzeboer 0773178d39 Merge pull request #38 from wimvelzeboer/feature/Factories
Add Factory method for records based on an Id field
2022-03-16 21:51:49 +00:00
WimVelzeboer ee8a8465c0 Add fflib_SObjects2.getRecords(sObjectField, Boolean) method
`List<SObject> getRecords(Schema.SObjectField sObjectField, Boolean value)`

Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-03-16 21:51:12 +00:00
WimVelzeboer ad75a9b790 Add Factory method for records based on an Id field
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-03-16 21:16:25 +00:00
WimVelzeboer 74456fe573 Add Factory templates plus documentation on how to install
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-03-16 20:43:10 +00:00
William Velzeboer fc94ac565c Merge pull request #37 from wimvelzeboer/feature/UnitOfWorkRegisterBulkWithRelationships
Add overloaded method for register dirty with relationships
2022-03-16 15:55:10 +00:00
WimVelzeboer bbf7e5b93c Add overloaded method for register dirty with relationships
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-03-16 14:28:24 +00:00
William Velzeboer def5fd29aa Merge pull request #36 from wimvelzeboer/feature/GetAllValues
Add getAllValues to fflib_ArrayUtils
2022-03-16 10:45:13 +00:00
WimVelzeboer 3335482e8f Add mergeMap to fflib_ArrayUtils
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-03-16 10:06:58 +00:00
WimVelzeboer d139917d69 Add getAllValues to fflib_ArrayUtils
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-03-16 09:47:30 +00:00
William Velzeboer 778a44dffa Merge pull request #35 from wimvelzeboer/feature/MoreDomainMethods
Add domain methods
2022-03-08 11:33:59 +00:00
WimVelzeboer 0943def0df Add domain methods
getRecords(sObjectField, Id)
getRecords(sObjectField, Set<Id>)
getRecords(sObjectField, String)
getRecords(sObjectField, Set<String>)
getRecordsIsNot(sObjectField, Id)
getRecordsNotIn(sObjectField, Set<Id>)
getRecordsIsNot(sObjectField, String)
getRecordsNotIn(sObjectField, Set<String>)

Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-03-08 11:27:58 +00:00