public class FieldScreenRendererFactoryImpl extends Object implements FieldScreenRendererFactory
| Constructor and Description |
|---|
FieldScreenRendererFactoryImpl(FieldManager fieldManager,
FieldLayoutManager fieldLayoutManager,
IssueTypeScreenSchemeManager issueTypeScreenSchemeManager,
FieldScreenManager fieldScreenManager,
HackyFieldRendererRegistry hackyFieldRendererRegistry,
FieldScreenTabRendererFactory fieldScreenTabRendererFactory) |
| Modifier and Type | Method and Description |
|---|---|
FieldScreenRenderer |
getFieldScreenRenderer(ApplicationUser remoteUser,
Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Obtain a field screen renderer that can be used to render JIRA's fields when transitioning through the passed workflow.
|
FieldScreenRenderer |
getFieldScreenRenderer(ApplicationUser remoteUser,
Issue issue,
IssueOperation issueOperation,
boolean onlyShownCustomFields)
Obtain a field screen renderer that can be used to render JIRA's fields for the passed arguments.
|
FieldScreenRenderer |
getFieldScreenRenderer(ApplicationUser remoteUser,
Issue issue,
IssueOperation issueOperation,
Predicate<? super Field> predicate)
Obtain a field screen renderer that can be used to render JIRA's fields for the passed arguments.
|
FieldScreenRenderer |
getFieldScreenRenderer(Collection<Issue> issues,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Get a renderer that can be used to render the fields when transitioning a collection of issues through workflow.
|
FieldScreenRenderer |
getFieldScreenRenderer(Issue issue)
Used when need to populate a field without showing a screen - e.g.
|
FieldScreenRenderer |
getFieldScreenRenderer(Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Obtain a field screen renderer that can be used to render JIRA's fields when transitioning through the passed workflow.
|
FieldScreenRenderer |
getFieldScreenRenderer(Issue issue,
IssueOperation issueOperation)
Obtain a field screen renderer that can be used to render JIRA's fields for the passed arguments.
|
FieldScreenRenderer |
getFieldScreenRenderer(Issue issue,
IssueOperation issueOperation,
Predicate<? super Field> predicate)
Obtain a field screen renderer that can be used to render JIRA's fields for the passed arguments.
|
FieldScreenRenderer |
getFieldScreenRenderer(List<String> fieldIds,
ApplicationUser remoteUser,
Issue issue,
IssueOperation issueOperation)
Returns a
FieldScreenRenderer that represents a 'field screen' with the fields the ids of which
are in fieldIds. |
public FieldScreenRendererFactoryImpl(FieldManager fieldManager, FieldLayoutManager fieldLayoutManager, IssueTypeScreenSchemeManager issueTypeScreenSchemeManager, FieldScreenManager fieldScreenManager, HackyFieldRendererRegistry hackyFieldRendererRegistry, FieldScreenTabRendererFactory fieldScreenTabRendererFactory)
public FieldScreenRenderer getFieldScreenRenderer(Issue issue, IssueOperation issueOperation)
FieldScreenRendererFactorygetFieldScreenRenderer in interface FieldScreenRendererFactoryissue - the issue to be rendered.issueOperation - the current issue operation.public FieldScreenRenderer getFieldScreenRenderer(Issue issue, IssueOperation issueOperation, Predicate<? super Field> predicate)
FieldScreenRendererFactory
Only the fields that match the passed predicate will be included in the returned FieldScreenRenderer.
getFieldScreenRenderer in interface FieldScreenRendererFactoryissue - the issue to be rendered.issueOperation - the current issue operation.predicate - only fields that cause ths predicate to return true will be returned in the FieldScreenRendererpublic FieldScreenRenderer getFieldScreenRenderer(ApplicationUser remoteUser, Issue issue, IssueOperation issueOperation, boolean onlyShownCustomFields)
FieldScreenRendererFactorygetFieldScreenRenderer in interface FieldScreenRendererFactoryremoteUser - the current userissue - the issue to be rendered.issueOperation - the current issue operation.onlyShownCustomFields - if true will only return custom fields in the FieldScreenRenderer, otherwise
all fields will be returned.public FieldScreenRenderer getFieldScreenRenderer(ApplicationUser remoteUser, Issue issue, IssueOperation issueOperation, Predicate<? super Field> predicate)
FieldScreenRendererFactoryFieldScreenRenderer.getFieldScreenRenderer in interface FieldScreenRendererFactoryremoteUser - the current userissue - the issue to be rendered.issueOperation - the current issue operation.predicate - only fields that cause ths predicate to return true will be returned in the FieldScreenRendererpublic FieldScreenRenderer getFieldScreenRenderer(ApplicationUser remoteUser, Issue issue, com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
FieldScreenRendererFactorygetFieldScreenRenderer in interface FieldScreenRendererFactoryremoteUser - the current userissue - the issue to be rendered.actionDescriptor - the current workflow action descriptorpublic FieldScreenRenderer getFieldScreenRenderer(Issue issue, com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
FieldScreenRendererFactorygetFieldScreenRenderer in interface FieldScreenRendererFactoryissue - the issue to be rendered.actionDescriptor - the current workflow action descriptorpublic FieldScreenRenderer getFieldScreenRenderer(Issue issue)
FieldScreenRendererFactorygetFieldScreenRenderer in interface FieldScreenRendererFactoryissue - the currentIssue.public FieldScreenRenderer getFieldScreenRenderer(Collection<Issue> issues, com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
FieldScreenRendererFactorygetFieldScreenRenderer in interface FieldScreenRendererFactoryissues - the issues to be rendered.actionDescriptor - current workflow action descriptorpublic FieldScreenRenderer getFieldScreenRenderer(List<String> fieldIds, ApplicationUser remoteUser, Issue issue, IssueOperation issueOperation)
FieldScreenRendererFactoryFieldScreenRenderer that represents a 'field screen' with the fields the ids of which
are in fieldIds. The returned Field Renderer places all given fields on one tab.getFieldScreenRenderer in interface FieldScreenRendererFactoryfieldIds - the fields to create the renderer for.remoteUser - the current userissue - the issue to be rendered.issueOperation - the current issue operation.Copyright © 2002-2016 Atlassian. All Rights Reserved.