Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7da892b

Browse files
committed
Merge pull request apex-enterprise-patterns#81 from jondavis9898/virtualize-undelete
virtualize handleAfterUndelete
2 parents 75e8fb4 + a969bd7 commit 7da892b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fflib/src/classes/fflib_SObjectDomain.cls

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public virtual with sharing class fflib_SObjectDomain
216216
*
217217
* @throws DomainException if the current user context is not able to delete records
218218
**/
219-
public void handleAfterUndelete()
219+
public virtual void handleAfterUndelete()
220220
{
221221
if(Configuration.EnforcingTriggerCRUDSecurity && !SObjectDescribe.isCreateable())
222222
throw new DomainException('Permission to create an ' + SObjectDescribe.getName() + ' denied.');

0 commit comments

Comments
 (0)