public class EmailNotificationHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADMINISTRATION_SERVICE |
static String |
EMAIL_ATTRIBUTE |
static String |
USER_CREATE_NOTIFICATION_LIST |
static String |
USER_DELETE_NOTIFICATION_LIST |
static String |
USER_MODIFY_NOTIFICATION_LIST |
Constructor and Description |
---|
EmailNotificationHelper(String userDN) |
Modifier and Type | Method and Description |
---|---|
protected Set |
getOrgTypeAttributes(AMOrganization org,
String serviceName,
String attrName)
Protected method to be used to obtain organization attribute values for a
given serviceName and attribute name.
|
boolean |
isPresentUserCreateNotificationList() |
boolean |
isPresentUserDeleteNotificationList() |
boolean |
isPresentUserModifyNotificationList() |
void |
sendUserCreateNotification(Map attributes)
The proper setUser<>NotificationList method should be called before
calling this method.
|
void |
sendUserDeleteNotification(Map attributes)
The proper setUser<>NotificationList method should be called before
calling this method.
|
void |
sendUserModifyNotification(SSOToken token,
Map attributes,
Map oldAttributes)
The proper setUser<>NotificationList method should be called before
calling this method.
|
void |
setUserCreateNotificationList() |
void |
setUserDeleteNotificationList() |
void |
setUserModifyNotificationList() |
public static final String ADMINISTRATION_SERVICE
public static final String USER_CREATE_NOTIFICATION_LIST
public static final String USER_DELETE_NOTIFICATION_LIST
public static final String USER_MODIFY_NOTIFICATION_LIST
public static final String EMAIL_ATTRIBUTE
public EmailNotificationHelper(String userDN)
public void setUserCreateNotificationList()
public void setUserDeleteNotificationList()
public void setUserModifyNotificationList()
public boolean isPresentUserCreateNotificationList()
public boolean isPresentUserDeleteNotificationList()
public boolean isPresentUserModifyNotificationList()
public void sendUserCreateNotification(Map attributes)
attributes
- the attributes of the userpublic void sendUserDeleteNotification(Map attributes)
attributes
- the attributes of the userpublic void sendUserModifyNotification(SSOToken token, Map attributes, Map oldAttributes)
token
- a valid single sign on tokenattributes
- the attribues of the useroldAttributes
- the previous attributes of the userprotected Set getOrgTypeAttributes(AMOrganization org, String serviceName, String attrName) throws SSOException
SSOException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.