public class FieldHtmlFactoryImpl extends Object implements FieldHtmlFactory
Constructor and Description |
---|
FieldHtmlFactoryImpl(I18nHelper.BeanFactory beanFactory,
FieldManager fieldManager,
FieldScreenRendererFactory fieldScreenRendererFactory,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
List<FieldHtmlBean> |
getCreateFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
MutableIssue newIssueObject,
boolean retainValues,
List<String> fieldsToRetain)
Returns a list of fields on the create screen as specified by the newIssueObject skeleton (it contains the
project and issue type context) including the project and issue type fields.
|
List<FieldHtmlBean> |
getEditFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
Issue issue,
boolean retainValues)
Returns all the edit fields required for the specified issue object.
|
List<FieldHtmlBean> |
getInlineEditFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
Issue issue,
boolean retainValues)
Returns all edit fields applicable for inline editing.
|
List<FieldHtmlBean> |
getLinkedIssueCreateFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
MutableIssue newIssueObject,
Issue sourceIssue,
boolean retainValues,
List<String> fieldsToRetain)
Returns a list of fields on the create screen as specified by the newIssueObject skeleton (it contains the
project and issue type context) including the project, issue type and issue links fields.
|
List<FieldHtmlBean> |
getSubTaskCreateFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
MutableIssue newIssueObject,
boolean retainValues,
List<String> fieldsToRetain)
This essentially returns the same as the
#getCreateFields(com.atlassian.crowd.embedded.api.User,
com.atlassian.jira.issue.customfields.OperationContext, webwork.action.Action,
com.atlassian.jira.issue.MutableIssue, boolean, java.util.List) method but it strips out certain fields such as
the project selector. |
public FieldHtmlFactoryImpl(I18nHelper.BeanFactory beanFactory, FieldManager fieldManager, FieldScreenRendererFactory fieldScreenRendererFactory, PermissionManager permissionManager)
public List<FieldHtmlBean> getCreateFields(ApplicationUser user, OperationContext operationContext, webwork.action.Action action, MutableIssue newIssueObject, boolean retainValues, List<String> fieldsToRetain)
FieldHtmlFactory
getCreateFields
in interface FieldHtmlFactory
user
- the remote useroperationContext
- holding context information about the actionaction
- the webwork action performing this operationnewIssueObject
- skeleton issue objectretainValues
- If we should keep all the field values when switching from full back to quick editfieldsToRetain
- List of fields to retain when creating multiple issues in a rowFieldHtmlBean
spublic List<FieldHtmlBean> getEditFields(ApplicationUser user, OperationContext operationContext, webwork.action.Action action, Issue issue, boolean retainValues)
FieldHtmlFactory
getEditFields
in interface FieldHtmlFactory
user
- the remote useroperationContext
- holding context information about the actionaction
- the webwork action performing this operationissue
- the issue being edited. Used to populate the field values.retainValues
- If we should keep all the field values when switching from full back to quick editFieldHtmlBean
spublic List<FieldHtmlBean> getInlineEditFields(ApplicationUser user, OperationContext operationContext, webwork.action.Action action, Issue issue, boolean retainValues)
FieldHtmlFactory
getInlineEditFields
in interface FieldHtmlFactory
user
- the remote useroperationContext
- holding context information about the actionaction
- the webwork action performing this operationissue
- the issue being edited. Used to populate the field values.retainValues
- If we should keep all the field values when switching from full back to quick editFieldHtmlBean
spublic List<FieldHtmlBean> getSubTaskCreateFields(ApplicationUser user, OperationContext operationContext, webwork.action.Action action, MutableIssue newIssueObject, boolean retainValues, List<String> fieldsToRetain)
FieldHtmlFactory
#getCreateFields(com.atlassian.crowd.embedded.api.User,
com.atlassian.jira.issue.customfields.OperationContext, webwork.action.Action,
com.atlassian.jira.issue.MutableIssue, boolean, java.util.List)
method but it strips out certain fields such as
the project selector.getSubTaskCreateFields
in interface FieldHtmlFactory
user
- the remote useroperationContext
- holding context information about the actionaction
- the webwork action performing this operationnewIssueObject
- skeleton issue objectretainValues
- If we should keep all the field values when switching from full back to quick editfieldsToRetain
- List of fields to retain when creating multiple issues in a rowFieldHtmlBean
spublic List<FieldHtmlBean> getLinkedIssueCreateFields(ApplicationUser user, OperationContext operationContext, webwork.action.Action action, MutableIssue newIssueObject, Issue sourceIssue, boolean retainValues, List<String> fieldsToRetain)
FieldHtmlFactory
getLinkedIssueCreateFields
in interface FieldHtmlFactory
user
- the remote useroperationContext
- holding context information about the actionaction
- the webwork action performing this operationnewIssueObject
- skeleton issue objectsourceIssue
- the issue to get field values to prefill the returned fieldsretainValues
- If we should keep all the field values when switching from full back to quick editfieldsToRetain
- List of fields to retain when creating multiple issues in a rowFieldHtmlBean
sCopyright © 2002-2022 Atlassian. All Rights Reserved.