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(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,
com.atlassian.crowd.embedded.api.User remoteUser,
Issue issue,
IssueOperation issueOperation)
Returns a
FieldScreenRenderer that represents a 'field screen' with the fields the ids of which
are in fieldIds. |
FieldScreenRenderer |
getFieldScreenRenderer(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User 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.
|
public FieldScreenRendererFactoryImpl(FieldManager fieldManager, FieldLayoutManager fieldLayoutManager, IssueTypeScreenSchemeManager issueTypeScreenSchemeManager, FieldScreenManager fieldScreenManager, HackyFieldRendererRegistry hackyFieldRendererRegistry, FieldScreenTabRendererFactory fieldScreenTabRendererFactory)
public FieldScreenRenderer getFieldScreenRenderer(Issue issue, IssueOperation issueOperation)
FieldScreenRendererFactory
getFieldScreenRenderer
in interface FieldScreenRendererFactory
issue
- the issue to be rendered.issueOperation
- the current issue operation.public FieldScreenRenderer getFieldScreenRenderer(Issue issue, IssueOperation issueOperation, Predicate<? super Field> predicate)
FieldScreenRendererFactory
FieldScreenRenderer
.getFieldScreenRenderer
in interface FieldScreenRendererFactory
issue
- 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 FieldScreenRenderer
public FieldScreenRenderer getFieldScreenRenderer(com.atlassian.crowd.embedded.api.User remoteUser, Issue issue, IssueOperation issueOperation, boolean onlyShownCustomFields)
FieldScreenRendererFactory
getFieldScreenRenderer
in interface FieldScreenRendererFactory
remoteUser
- 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(com.atlassian.crowd.embedded.api.User remoteUser, Issue issue, IssueOperation issueOperation, Predicate<? super Field> predicate)
FieldScreenRendererFactory
FieldScreenRenderer
.getFieldScreenRenderer
in interface FieldScreenRendererFactory
remoteUser
- 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 FieldScreenRenderer
public FieldScreenRenderer getFieldScreenRenderer(com.atlassian.crowd.embedded.api.User remoteUser, Issue issue, com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
FieldScreenRendererFactory
getFieldScreenRenderer
in interface FieldScreenRendererFactory
remoteUser
- the current userissue
- the issue to be rendered.actionDescriptor
- the current workflow action descriptorpublic FieldScreenRenderer getFieldScreenRenderer(Issue issue, com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
FieldScreenRendererFactory
getFieldScreenRenderer
in interface FieldScreenRendererFactory
issue
- the issue to be rendered.actionDescriptor
- the current workflow action descriptorpublic FieldScreenRenderer getFieldScreenRenderer(Issue issue)
FieldScreenRendererFactory
getFieldScreenRenderer
in interface FieldScreenRendererFactory
issue
- the currentIssue.public FieldScreenRenderer getFieldScreenRenderer(Collection<Issue> issues, com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
FieldScreenRendererFactory
getFieldScreenRenderer
in interface FieldScreenRendererFactory
issues
- the issues to be rendered.actionDescriptor
- current workflow action descriptorpublic FieldScreenRenderer getFieldScreenRenderer(List<String> fieldIds, com.atlassian.crowd.embedded.api.User remoteUser, Issue issue, IssueOperation issueOperation)
FieldScreenRendererFactory
FieldScreenRenderer
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 FieldScreenRendererFactory
fieldIds
- the fields to create the renderer for.remoteUser
- the current userissue
- the issue to be rendered.issueOperation
- the current issue operation.Copyright © 2002-2015 Atlassian. All Rights Reserved.