|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectFieldLayoutSchemeHelper
A number of useful field layout scheme methods, particularly to do with "active" field layouts. A field layout is only considered "active" if it is currently actually being used by a project. This means it is active if:
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 projects
fieldLayouts
- Field layouts to get projects for
ProjectNameComparator
List<Project> getProjectsForFieldLayout(FieldLayout fieldLayout)
fieldLayout
- the name of the field layout the check.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |