add messaging handler methods
@@ -11,7 +11,8 @@ import com.backendless.servercode.ExecutionResult;
import com.backendless.servercode.RunnerContext;
import java.util.List;
-
+import java.util.Map;
+import java.util.Set;
public abstract class MessagingExtender
{
@@ -94,5 +95,21 @@ public abstract class MessagingExtender
public void afterGetMessageStatus( RunnerContext context, String messageId, ExecutionResult<MessageStatus> msgStatus ) throws Exception
{
}
+
+ public void beforeSendEmailByAddressesWithTemplate ( RunnerContext context, String templateName, Set<String> addresses, Map<String, String> templateValues, Set<String> ccAddresses, Set<String> bccAddresses ) throws Exception
+ {
+ }
+
+ public void afterSendEmailByAddressesWithTemplate ( RunnerContext context, String templateName, Set<String> addresses, Map<String, String> templateValues, Set<String> ccAddresses, Set<String> bccAddresses ) throws Exception
+ {
+ }
+
+ public void beforeSendEmailByQueryWithTemplate ( RunnerContext context, String templateName, String segmentQuery, Map<String, String> templateValues, Set<String> ccAddresses, Set<String> bccAddresses ) throws Exception
+ {
+ }
+
+ public void afterSendEmailByQueryWithTemplate ( RunnerContext context, String templateName, Set<String> addresses, Map<String, String> templateValues, Set<String> ccAddresses, Set<String> bccAddresses ) throws Exception
+ {
+ }
}
