com.atlassian.jira.notification
Class DefaultProjectNotificationsSchemeHelper
java.lang.Object
com.atlassian.jira.notification.DefaultProjectNotificationsSchemeHelper
- All Implemented Interfaces:
- ProjectNotificationsSchemeHelper
public class DefaultProjectNotificationsSchemeHelper
- extends Object
- implements ProjectNotificationsSchemeHelper
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProjectNotificationsSchemeHelper
public DefaultProjectNotificationsSchemeHelper(NotificationSchemeManager notificationSchemeManager,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager)
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-2011 Atlassian. All Rights Reserved.