diff --git a/components/org.wso2.carbon.identity.governance/src/main/java/org/wso2/carbon/identity/governance/service/notification/NotificationTemplateManager.java b/components/org.wso2.carbon.identity.governance/src/main/java/org/wso2/carbon/identity/governance/service/notification/NotificationTemplateManager.java index e410da192..a4045638d 100644 --- a/components/org.wso2.carbon.identity.governance/src/main/java/org/wso2/carbon/identity/governance/service/notification/NotificationTemplateManager.java +++ b/components/org.wso2.carbon.identity.governance/src/main/java/org/wso2/carbon/identity/governance/service/notification/NotificationTemplateManager.java @@ -119,12 +119,15 @@ default void resetNotificationTemplateType(String notificationChannel, String te } /** + * @deprecated Use {@link #getAllNotificationTemplates(String, String, boolean)} instead. + *
* Get all available notification template types in the tenant for a given notification channel.
*
* @param notificationChannel Notification channel (Eg: SMS, EMAIL).
* @param tenantDomain Tenant domain.
* @throws NotificationTemplateManagerException If an error occurred while getting the notification template types.
*/
+ @Deprecated
default List
* Get all notification templates of the given type.
*
* @param notificationChannel Notification channel (Eg: SMS, EMAIL).
@@ -188,6 +193,7 @@ default List
* Return the notification template from the tenant registry which matches the given channel and template name.
*
* @param notificationChannel Notification Channel Name (Eg: SMS or EMAIL).
@@ -259,6 +267,7 @@ default NotificationTemplate getNotificationTemplate(String notificationChannel,
* @return Return {@link org.wso2.carbon.identity.governance.model.NotificationTemplate} object.
* @throws NotificationTemplateManagerException If an error occurred while getting the notification template.
*/
+ @Deprecated
default NotificationTemplate getNotificationTemplate(String notificationChannel, String templateType, String locale,
String tenantDomain, String applicationUuid)
throws NotificationTemplateManagerException {