|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.fields.screen.FieldScreenRendererFactoryImpl
public class FieldScreenRendererFactoryImpl
Default implementation of the FieldScreenRendererFactory.
Constructor Summary | |
---|---|
FieldScreenRendererFactoryImpl(FieldManager fieldManager,
FieldLayoutManager fieldLayoutManager,
IssueTypeScreenSchemeManager issueTypeScreenSchemeManager,
FieldScreenManager fieldScreenManager,
HackyFieldRendererRegistry hackyFieldRendererRegistry)
|
Method Summary | |
---|---|
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(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldScreenRendererFactoryImpl(FieldManager fieldManager, FieldLayoutManager fieldLayoutManager, IssueTypeScreenSchemeManager issueTypeScreenSchemeManager, FieldScreenManager fieldScreenManager, HackyFieldRendererRegistry hackyFieldRendererRegistry)
Method Detail |
---|
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
.
This is the preferred way of getting a 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 descriptor
public 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 descriptor
public 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |