public interface ProjectFieldLayoutSchemeHelper
A field layout is only considered "active" if it is currently actually being used by a project. This means it is active if:
Internal helper class for Project Configuration.
Modifier and Type | Method and Description |
---|---|
List<Project> |
getProjectsForFieldLayout(FieldLayout fieldLayout)
Returns a list of the projects are currently using the passed field layout, and the field layout is active.
|
com.google.common.collect.Multimap<FieldLayout,Project> |
getProjectsForFieldLayouts(Set<FieldLayout> fieldLayouts)
Like
getProjectsForFieldLayout(com.atlassian.jira.issue.fields.layout.field.FieldLayout) , but takes a set of fieldLayouts
and returns a multimap of FieldLayouts -> Active projects |
List<Project> |
getProjectsForScheme(Long schemeId)
Return a list of projects that use the field layout scheme with the passed query.
|
List<Project> getProjectsForScheme(Long schemeId)
schemeId
- the scheme id query. Null can be passed to search for the magical system default field layout scheme.com.google.common.collect.Multimap<FieldLayout,Project> getProjectsForFieldLayouts(Set<FieldLayout> fieldLayouts)
getProjectsForFieldLayout(com.atlassian.jira.issue.fields.layout.field.FieldLayout)
, but takes a set of fieldLayouts
and returns a multimap of FieldLayouts -> Active projectsfieldLayouts
- Field layouts to get projects forProjectNameComparator
List<Project> getProjectsForFieldLayout(FieldLayout fieldLayout)
Only projects that the current user can change the configuration for will be returned.
fieldLayout
- the name of the field layout the check.Copyright © 2002-2017 Atlassian. All Rights Reserved.