public class

DefaultProjectNotificationsSchemeHelper

extends Object
implements ProjectNotificationsSchemeHelper
java.lang.Object
   ↳ com.atlassian.jira.notification.DefaultProjectNotificationsSchemeHelper

Summary

Public Constructors
DefaultProjectNotificationsSchemeHelper(NotificationSchemeManager notificationSchemeManager, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
Public Methods
List<Project> getSharedProjects(Scheme notificationsScheme)
Gets the projects using a given Notifications Scheme.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.notification.ProjectNotificationsSchemeHelper

Public Constructors

public DefaultProjectNotificationsSchemeHelper (NotificationSchemeManager notificationSchemeManager, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)

Public Methods

public List<Project> getSharedProjects (Scheme notificationsScheme)

Gets the projects using a given Notifications Scheme. Similar to getProjects(com.atlassian.jira.scheme.Scheme), but only projects for which the requesting user has EDIT_PROJECT_CONFIG permissions.

Parameters
notificationsScheme notificationsScheme to find associated projects for.
Returns
  • list of projects which use the given notificationsScheme. Sorted by COMPARATOR