This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public with sharing class AccountHandlerSetActivityDateOnSelf implements TriggerAction.BeforeInsert, TriggerAction.BeforeUpdate { | |
| public void beforeInsert(List<Account> newList) { | |
| setLastAccountTreeActivity(newList); | |
| } | |
| public void beforeUpdate(List<Account> newList, List<Account> oldList) { | |
| setLastAccountTreeActivity(newList); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public with sharing class AccountHandlerSetActivityDateOnSelf implements BeforeInsert, BeforeUpdate { | |
| public void handleBeforeInsert(List<Account> newList) { | |
| setLastAccountTreeActivity(newList); | |
| } | |
| public void handleBeforeUpdate(List<Account> oldList, List<Account> newList) { | |
| setLastAccountTreeActivity(newList); | |
| } |