public class DefaultProjectIssueTypeScreenSchemeHelper extends Object implements ProjectIssueTypeScreenSchemeHelper
Constructor and Description |
---|
DefaultProjectIssueTypeScreenSchemeHelper(ProjectService projectService,
JiraAuthenticationContext authenticationContext,
IssueTypeScreenSchemeManager issueTypeScreenSchemeManager,
PermissionManager permissionManager,
ProjectFactory projectFactory) |
Modifier and Type | Method and Description |
---|---|
List<Project> |
getProjectsForFieldScreenScheme(FieldScreenScheme fieldScreenScheme)
Returns a list of the projects are currently using the passed screen scheme, and the screen scheme is active.
|
com.google.common.collect.Multimap<FieldScreenScheme,Project> |
getProjectsForFieldScreenSchemes(Set<FieldScreenScheme> fieldScreenSchemes)
Like
ProjectIssueTypeScreenSchemeHelper.getProjectsForFieldScreenScheme(com.atlassian.jira.issue.fields.screen.FieldScreenScheme) , but
takes a set of field screen schemes and returns a multimap of Field Screen Scheme -> Active projects |
List<Project> |
getProjectsForScheme(IssueTypeScreenScheme issueTypeScreenScheme)
Return a list of projects that use the issue type screen scheme with the passed query.
|
public DefaultProjectIssueTypeScreenSchemeHelper(ProjectService projectService, JiraAuthenticationContext authenticationContext, IssueTypeScreenSchemeManager issueTypeScreenSchemeManager, PermissionManager permissionManager, ProjectFactory projectFactory)
public com.google.common.collect.Multimap<FieldScreenScheme,Project> getProjectsForFieldScreenSchemes(Set<FieldScreenScheme> fieldScreenSchemes)
ProjectIssueTypeScreenSchemeHelper
ProjectIssueTypeScreenSchemeHelper.getProjectsForFieldScreenScheme(com.atlassian.jira.issue.fields.screen.FieldScreenScheme)
, but
takes a set of field screen schemes and returns a multimap of Field Screen Scheme -> Active projectsgetProjectsForFieldScreenSchemes
in interface ProjectIssueTypeScreenSchemeHelper
fieldScreenSchemes
- field screen schemes to get projects forProjectNameComparator
public List<Project> getProjectsForFieldScreenScheme(FieldScreenScheme fieldScreenScheme)
ProjectIssueTypeScreenSchemeHelper
Only projects that the current user can change the configuration for will be returned.
getProjectsForFieldScreenScheme
in interface ProjectIssueTypeScreenSchemeHelper
fieldScreenScheme
- the name of the field screen scheme to check.public List<Project> getProjectsForScheme(IssueTypeScreenScheme issueTypeScreenScheme)
ProjectIssueTypeScreenSchemeHelper
getProjectsForScheme
in interface ProjectIssueTypeScreenSchemeHelper
issueTypeScreenScheme
- the issue type screen scheme. There is no concept of a magical null-id issue type screen scheme, all
of them, even the default, have IDs.Copyright © 2002-2017 Atlassian. All Rights Reserved.