public class NotificationUtil extends Object
| Constructor and Description |
|---|
NotificationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Notification |
buildNotification(org.wso2.carbon.identity.event.event.Event event,
Map<String,String> placeHolderData) |
static void |
deployPublisher(org.wso2.carbon.event.publisher.core.config.EventPublisherConfiguration eventPublisherConfiguration) |
static void |
deployStream(String streamName,
String streamVersion,
String streamId) |
static List<String> |
extractPlaceHolders(String value) |
static Map<String,String> |
getPlaceholderValues(org.wso2.carbon.email.mgt.model.EmailTemplate emailTemplate,
Map<String,String> placeHolderData,
Map<String,String> userClaims) |
static String |
getTenantDomain(org.wso2.carbon.user.api.UserStoreManager userStoreManager) |
static Map<String,String> |
getUserClaimValues(String userName,
String domainName,
String tenantDomain) |
static Map<String,String> |
getUserClaimValues(String userName,
org.wso2.carbon.user.api.UserStoreManager userStoreManager) |
static String |
getUserStoreDomainName(org.wso2.carbon.user.api.UserStoreManager userStoreManager) |
public static Map<String,String> getUserClaimValues(String userName, org.wso2.carbon.user.api.UserStoreManager userStoreManager)
public static Map<String,String> getUserClaimValues(String userName, String domainName, String tenantDomain) throws org.wso2.carbon.identity.event.IdentityEventException
org.wso2.carbon.identity.event.IdentityEventExceptionpublic static Map<String,String> getPlaceholderValues(org.wso2.carbon.email.mgt.model.EmailTemplate emailTemplate, Map<String,String> placeHolderData, Map<String,String> userClaims)
public static String getUserStoreDomainName(org.wso2.carbon.user.api.UserStoreManager userStoreManager)
public static String getTenantDomain(org.wso2.carbon.user.api.UserStoreManager userStoreManager)
public static void deployStream(String streamName, String streamVersion, String streamId) throws NotificationRuntimeException
NotificationRuntimeExceptionpublic static void deployPublisher(org.wso2.carbon.event.publisher.core.config.EventPublisherConfiguration eventPublisherConfiguration)
throws NotificationRuntimeException
NotificationRuntimeExceptionpublic static Notification buildNotification(org.wso2.carbon.identity.event.event.Event event, Map<String,String> placeHolderData) throws org.wso2.carbon.identity.event.IdentityEventException, NotificationRuntimeException
org.wso2.carbon.identity.event.IdentityEventExceptionNotificationRuntimeExceptionCopyright © 2016 WSO2. All rights reserved.