Skip to content

Commit

Permalink
Add NotificationTemplateManager.getAllSystemNotificationTemplatesOfTy…
Browse files Browse the repository at this point in the history
…pe function
  • Loading branch information
RushanNanayakkara committed Sep 29, 2024
1 parent 513390b commit d08b1e5
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ default List<NotificationTemplate> getAllNotificationTemplates(String notificati
return null;

Check warning on line 110 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#L110

Added line #L110 was not covered by tests
}

/**
* Get all available system notification templates of given type.
*
* @param notificationChannel Notification channel (Eg: SMS, EMAIL).
* @return List of system notification templates.
*/
default List<NotificationTemplate> getAllSystemNotificationTemplatesOfType(String notificationChannel,
String templateDisplayName) throws NotificationTemplateManagerException {

return null;

Check warning on line 122 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#L122

Added line #L122 was not covered by tests
}

/**
* Get all notification templates of the given type.
*
Expand Down

0 comments on commit d08b1e5

Please sign in to comment.