|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.projectconfig.fields.IssueFields
@Component public class IssueFields
A utility class for adding
Constructor Summary | |
---|---|
IssueFields(ScreenFinder screenFinder,
ProjectFieldScreenHelper screenHelper,
CustomFieldManager fieldManager,
FieldLayoutManager fieldLayoutManager)
|
Method Summary | |
---|---|
void |
addFieldToIssueScreens(Field field,
Issue issue)
|
Iterable<Project> |
getAffectedProjects(Issue issue)
Returns the list of projects that will be affected by adding a field to a screen. |
Iterable<OrderableField> |
getAllCustomFields(Issue issue)
Returns the list of Custom Fields that are in the context of a passed issue and are visible. |
Iterable<Pair<OrderableField,Boolean>> |
getAllCustomFieldsWithOnAllScreensFlag(Issue issue)
Returns the a list of pairs where each pair contains a Custom Field and an indication whether that field is visible for a passed issue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IssueFields(ScreenFinder screenFinder, ProjectFieldScreenHelper screenHelper, CustomFieldManager fieldManager, FieldLayoutManager fieldLayoutManager)
Method Detail |
---|
public void addFieldToIssueScreens(Field field, Issue issue)
public Iterable<Project> getAffectedProjects(Issue issue)
issue
- the issue to check.
public Iterable<OrderableField> getAllCustomFields(Issue issue)
issue
- the issue in the query.
public Iterable<Pair<OrderableField,Boolean>> getAllCustomFieldsWithOnAllScreensFlag(Issue issue)
issue
- the issue in the query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |