|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ExperimentalApi public interface FieldHtmlFactory
Helper factory to get a list of all the fields required for create, edit and creating subtasks.
Method Summary | |
---|---|
List<FieldHtmlBean> |
getCreateFields(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User user,
OperationContext operationContext,
webwork.action.Action action,
Issue issue,
boolean retainValues)
Returns all the edit fields required for the specified issue object. |
List<FieldHtmlBean> |
getSubTaskCreateFields(com.atlassian.crowd.embedded.api.User 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. |
Method Detail |
---|
List<FieldHtmlBean> getCreateFields(com.atlassian.crowd.embedded.api.User user, OperationContext operationContext, webwork.action.Action action, MutableIssue newIssueObject, boolean retainValues, List<String> fieldsToRetain)
user
- the remote useroperationContext
- the webwork action performing this operationaction
- 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 row
FieldHtmlBean
sList<FieldHtmlBean> getEditFields(com.atlassian.crowd.embedded.api.User user, OperationContext operationContext, webwork.action.Action action, Issue issue, boolean retainValues)
user
- the remote useroperationContext
- the webwork action performing this operationaction
- 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 edit
FieldHtmlBean
sList<FieldHtmlBean> getSubTaskCreateFields(com.atlassian.crowd.embedded.api.User user, OperationContext operationContext, webwork.action.Action action, MutableIssue newIssueObject, boolean retainValues, List<String> fieldsToRetain)
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.
user
- the remote useroperationContext
- the webwork action performing this operationaction
- 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 row
FieldHtmlBean
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |