Skip to content

Instantly share code, notes, and snippets.

@suddeb
Created August 2, 2015 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suddeb/3992d61bf09ae5b8a04e to your computer and use it in GitHub Desktop.
Save suddeb/3992d61bf09ae5b8a04e to your computer and use it in GitHub Desktop.
public class AccountTriggerHandler {
//After Insert Handler
public class AccountAfterInsertHandler implements MyTriggers.Handler{
public void handle(){
System.Debug(LoggingLevel.INFO,'Inside AccountAfterInsertHandler');
}
}
//Before Insert Handler
public class AccountBeforeInsertHandler implements MyTriggers.Handler{
public void handle(){
System.Debug(LoggingLevel.INFO,'Inside AccountBeforeInsertHandler');
}
}
//Before Update Handler
public class AccountBeforeUpdateHandler implements MyTriggers.Handler{
public void handle(){
System.Debug(LoggingLevel.INFO,'Inside AccountBeforeUpdateHandler');
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment