Commit Graph
14 Commits
Author SHA1 Message Date
WimVelzeboer 3d9e8fae8a Add getDecimalById to fflib_SObjects2
Signed-off-by: WimVelzeboer <william@velzeboer.nl>
2023-04-13 11:10:45 +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
WimVelzeboer 54490cc32d Fix for updated fflib-apex-common
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-05-09 16:05:54 +01: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 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
WimVelzeboer 3113ec8378 Add domain method getRecordsByFieldValueIsNot
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-03-04 12:29:37 +00:00
WimVelzeboer 969b0fbba7 Improve fflib_SObjects2.getSObjectsByIdField
Add unit-test and method to domain template

Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-02-24 09:43:38 +00:00
WimVelzeboer acb5cdc98b More domain methods
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-02-23 12:03:34 +00:00
William Velzeboer 74f49d4eb4 Merge branch 'main' into main 2022-01-12 10:56:01 +00:00
Jan Aertgeerts bc62708b88 add getIdFieldByStringField() 2022-01-10 11:49:20 +01:00
WimVelzeboer a48dbe519f Bugfix to getStringFieldByIdField method
Method arguments were in the incorrect order.

Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2022-01-05 13:19:33 +00:00
WimVelzeboer 1f45c8d4c2 Add setter method to fflib_SObjects2 plus unit-test
Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2021-11-04 17:18:46 +00:00
WimVelzeboer 6eee1acdb6 Add getDecimalFieldSum method to domain
This will summarise the Decimal field value

Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
2021-11-03 15:24:05 +00:00
wim a358fef3c9 Add "fflib_" prefix to primitive domain classes 2021-10-05 10:22:23 +01:00