com.atlassian.jira.notification
Class DefaultProjectNotificationsSchemeHelper

java.lang.Object
  extended by com.atlassian.jira.notification.DefaultProjectNotificationsSchemeHelper
All Implemented Interfaces:
ProjectNotificationsSchemeHelper

public class DefaultProjectNotificationsSchemeHelper
extends Object
implements ProjectNotificationsSchemeHelper

Since:
v4.4

Constructor Summary
DefaultProjectNotificationsSchemeHelper(NotificationSchemeManager notificationSchemeManager, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
           
 
Method Summary
 List<Project> getSharedProjects(Scheme notificationsScheme)
          Gets the projects using a given Notifications Scheme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProjectNotificationsSchemeHelper

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

getSharedProjects

public List<Project> getSharedProjects(Scheme notificationsScheme)
Description copied from interface: ProjectNotificationsSchemeHelper
Gets the projects using a given Notifications Scheme. Similar to SchemeManager.getProjects(com.atlassian.jira.scheme.Scheme), but only projects for which the requesting user has ProjectAction.EDIT_PROJECT_CONFIG permissions.

Specified by:
getSharedProjects in interface ProjectNotificationsSchemeHelper
Parameters:
notificationsScheme - notificationsScheme to find associated projects for.
Returns:
list of projects which use the given notificationsScheme. Sorted by ProjectNameComparator.COMPARATOR


Copyright © 2002-2012 Atlassian. All Rights Reserved.