public class DefaultProjectNotificationsSchemeHelper extends Object implements ProjectNotificationsSchemeHelper
Constructor and Description |
---|
DefaultProjectNotificationsSchemeHelper(NotificationSchemeManager notificationSchemeManager,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
List<Project> |
getSharedProjects(Scheme notificationsScheme)
Gets the projects using a given Notifications
Scheme . |
public DefaultProjectNotificationsSchemeHelper(NotificationSchemeManager notificationSchemeManager, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
public List<Project> getSharedProjects(Scheme notificationsScheme)
ProjectNotificationsSchemeHelper
Scheme
. Similar to
SchemeManager.getProjects(com.atlassian.jira.scheme.Scheme)
, but only projects for which
the requesting user has ProjectAction.EDIT_PROJECT_CONFIG
permissions.getSharedProjects
in interface ProjectNotificationsSchemeHelper
notificationsScheme
- notificationsScheme to find associated projects for.ProjectNameComparator.COMPARATOR
Copyright © 2002-2017 Atlassian. All Rights Reserved.