com.atlassian.jira.notification
Interface ProjectNotificationsSchemeHelper

All Known Implementing Classes:
DefaultProjectNotificationsSchemeHelper

public interface ProjectNotificationsSchemeHelper

An internal helper class for Project Configuration.

Since:
v4.4

Method Summary
 List<Project> getSharedProjects(Scheme notificationsScheme)
          Gets the projects using a given Notifications Scheme.
 

Method Detail

getSharedProjects

List<Project> getSharedProjects(Scheme notificationsScheme)
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.

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.