|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface FieldScreenRendererFactory
A factory for obtaining FieldScreenRenderer's.
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. |
Method Detail |
---|
FieldScreenRenderer getFieldScreenRenderer(com.atlassian.crowd.embedded.api.User remoteUser, Issue issue, IssueOperation issueOperation, Predicate<? super Field> predicate)
FieldScreenRenderer
.
This is the preferred way of getting a FieldScreenRenderer.
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
FieldScreenRenderer getFieldScreenRenderer(com.atlassian.crowd.embedded.api.User remoteUser, Issue issue, IssueOperation issueOperation, boolean onlyShownCustomFields)
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.
FieldScreenRenderer getFieldScreenRenderer(com.atlassian.crowd.embedded.api.User remoteUser, Issue issue, com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
remoteUser
- the current userissue
- the issue to be rendered.actionDescriptor
- the current workflow action descriptor
FieldScreenRenderer getFieldScreenRenderer(Issue issue)
issue
- the currentIssue.
FieldScreenRenderer getFieldScreenRenderer(Collection<Issue> issues, com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
issues
- the issues to be rendered.actionDescriptor
- current workflow action descriptor
FieldScreenRenderer getFieldScreenRenderer(List<String> fieldIds, com.atlassian.crowd.embedded.api.User remoteUser, Issue issue, IssueOperation issueOperation)
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.
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 |