Package com.identityworksllc.iiq.common
Class Notifications
- java.lang.Object
-
- com.identityworksllc.iiq.common.Notifications
-
public class Notifications extends Object
This class implements a set of utilities for notifications.These can be somewhat unwieldy in Sailpoint for straightforward operations like “send an email template with these arguments to one person”.
-
-
Constructor Summary
Constructors Constructor Description Notifications()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidnotify(sailpoint.api.SailPointContext context, String singleRecipient, String cc, String emailTemplate, Map<String,Object> parameters)Sends an email notification to the given users with the given argumentsstatic voidnotify(sailpoint.api.SailPointContext context, String singleRecipient, String emailTemplate, Map<String,Object> parameters)Sends an email notification to the given users with the given argumentsstatic voidnotify(sailpoint.api.SailPointContext context, List<String> recipients, String cc, String emailTemplate, Map<String,Object> parameters)Sends an email notification to the given users with the given arguments
-
-
-
Constructor Detail
-
Notifications
public Notifications()
-
-
Method Detail
-
notify
public static void notify(sailpoint.api.SailPointContext context, String singleRecipient, String emailTemplate, Map<String,Object> parameters) throws sailpoint.tools.GeneralException
Sends an email notification to the given users with the given arguments- Parameters:
context- A sailpoint contextsingleRecipient- The recipient, which can be a user or a workgroup or an email addressemailTemplate- The email template to sendparameters- The parameters to use for the template- Throws:
sailpoint.tools.GeneralException- if a send failure occurs
-
notify
public static void notify(sailpoint.api.SailPointContext context, String singleRecipient, String cc, String emailTemplate, Map<String,Object> parameters) throws sailpoint.tools.GeneralException
Sends an email notification to the given users with the given arguments- Parameters:
context- A sailpoint contextsingleRecipient- The recipient, which can be a user or a workgroup or an email addresscc- Optional user or email to CC the email toemailTemplate- The email template to sendparameters- The parameters to use for the template- Throws:
sailpoint.tools.GeneralException- if a send failure occurs
-
notify
public static void notify(sailpoint.api.SailPointContext context, List<String> recipients, String cc, String emailTemplate, Map<String,Object> parameters) throws sailpoint.tools.GeneralException
Sends an email notification to the given users with the given arguments- Parameters:
context- A sailpoint contextrecipients- The recipients, which can be a user or a workgroupcc- Optional user or email to CC the email toemailTemplate- The email template to sendparameters- The parameters to use for the template- Throws:
sailpoint.tools.GeneralException- if a send failure occurs
-
-