Skip to content

Commit

Permalink
Rename NotificationTemplateManager.deleteCustomizedNotificationTempla…
Browse files Browse the repository at this point in the history
…tes function to resetNotificationTemplateType
  • Loading branch information
RushanNanayakkara committed Oct 18, 2024
1 parent cf804a5 commit 575f1c5
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,17 +274,16 @@ default void deleteNotificationTemplate(String notificationChannel, String templ

}

Check warning on line 275 in components/org.wso2.carbon.identity.governance/src/main/java/org/wso2/carbon/identity/governance/service/notification/NotificationTemplateManager.java

View check run for this annotation

Codecov / codecov/patch

components/org.wso2.carbon.identity.governance/src/main/java/org/wso2/carbon/identity/governance/service/notification/NotificationTemplateManager.java#L275

Added line #L275 was not covered by tests


/**
* Delete all organization and application notification templates of a type from the system.
* Deletes the template type in the database resulting in the deletion of all it's user defined templates
* and recreates the type.
*
* @param notificationChannel Notification channel (Eg: SMS, EMAIL).
* @param templateType Display name of the template.
* @param tenantDomain Tenant domain.
* @throws NotificationTemplateManagerException If an error occurred while deleting the notification template.
* @throws NotificationTemplateManagerException If an error occurred while resetting the notification template type.
*/
default void deleteCustomizedNotificationTemplates(String notificationChannel, String templateType,
String tenantDomain)
default void resetNotificationTemplateType(String notificationChannel, String templateType, String tenantDomain)
throws NotificationTemplateManagerException {

}
Expand Down

0 comments on commit 575f1c5

Please sign in to comment.