public class BulkFieldScreenRendererImpl extends Object
Modifier and Type | Method and Description |
---|---|
List<FieldScreenRenderLayoutItem> |
getAllScreenRenderItems()
Return a list of all the
FieldScreenRenderLayoutItem s contained
on any of the FieldScreenRenderTab s. |
FieldLayout |
getFieldLayout()
Get the underlying
FieldLayout which backs this FieldScreenRenderer . |
FieldScreenRenderLayoutItem |
getFieldScreenRenderLayoutItem(OrderableField orderableField)
A convenience method to locate the
FieldScreenRenderLayoutItem which has a field
which has an id matching parameter orderableField |
FieldScreenRenderTab |
getFieldScreenRenderTabPosition(String fieldId)
Return null if cannot find tab for the given fieldId
|
List<FieldScreenRenderTab> |
getFieldScreenRenderTabs() |
Collection<FieldScreenRenderLayoutItem> |
getRequiredFieldScreenRenderItems()
A convenience method which loops through all the
FieldScreenRenderLayoutItem on all tabs, and returns
the ones that are required. |
public List<FieldScreenRenderTab> getFieldScreenRenderTabs()
FieldScreenRenderTab
objects which are visible and contain at least one
FieldScreenRenderLayoutItem
public FieldLayout getFieldLayout()
FieldScreenRenderer
FieldLayout
which backs this FieldScreenRenderer
. This is currently used to find all
the visible fields, not just the ones visible on this screen. This allows the 'default' values to be set on
the fields not shown on this screen.FieldLayout
.public Collection<FieldScreenRenderLayoutItem> getRequiredFieldScreenRenderItems()
FieldScreenRenderer
FieldScreenRenderLayoutItem
on all tabs, and returns
the ones that are required.getRequiredFieldScreenRenderItems
in interface FieldScreenRenderer
FieldScreenRenderLayoutItem
objectspublic FieldScreenRenderTab getFieldScreenRenderTabPosition(String fieldId)
getFieldScreenRenderTabPosition
in interface FieldScreenRenderer
fieldId
- The id of an the OrderableField
to match againstFieldScreenRenderer.getFieldScreenRenderLayoutItem(com.atlassian.jira.issue.fields.OrderableField)
public FieldScreenRenderLayoutItem getFieldScreenRenderLayoutItem(OrderableField orderableField)
FieldScreenRenderer
FieldScreenRenderLayoutItem
which has a field
which has an id matching parameter orderableFieldgetFieldScreenRenderLayoutItem
in interface FieldScreenRenderer
orderableField
- The field to findFieldScreenRenderLayoutItem
which contains the OrderableField
FieldScreenRenderer.getFieldScreenRenderTabPosition(String)
public List<FieldScreenRenderLayoutItem> getAllScreenRenderItems()
FieldScreenRenderer
FieldScreenRenderLayoutItem
s contained
on any of the FieldScreenRenderTab
s.
It returns the items in order from first tab to last tab.getAllScreenRenderItems
in interface FieldScreenRenderer
Copyright © 2002-2021 Atlassian. All Rights Reserved.