com.atlassian.jira.web.action.issue
Interface IssueCreationHelperBean

All Known Implementing Classes:
IssueCreationHelperBeanImpl

public interface IssueCreationHelperBean


Method Summary
 FieldScreenRenderer createFieldScreenRenderer(com.atlassian.crowd.embedded.api.User remoteUser, Issue issueObject)
           
 List<OrderableField> getFieldsForCreate(com.atlassian.crowd.embedded.api.User user, Issue issueObject)
          Gets the fields that will be shown in the create issue screen for that issues project and issue type
 List<String> getProvidedFieldNames(com.atlassian.crowd.embedded.api.User remoteUser, Issue issueObject)
           
 void updateIssueFromFieldValuesHolder(FieldScreenRenderer fieldScreenRenderer, com.atlassian.crowd.embedded.api.User remoteUser, MutableIssue issueObject, Map fieldValuesHolder)
           
 void validateCreateIssueFields(JiraServiceContext jiraServiceContext, Collection<String> providedFields, Issue issueObject, FieldScreenRenderer fieldScreenRenderer, OperationContext operationContext, Map<String,String[]> parameters, boolean applyDefaults, I18nHelper i18n)
           
 void validateIssueType(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)
           
 void validateLicense(ErrorCollection errors, I18nHelper i18n)
           
 void validateProject(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)
           
 

Method Detail

validateCreateIssueFields

void validateCreateIssueFields(JiraServiceContext jiraServiceContext,
                               Collection<String> providedFields,
                               Issue issueObject,
                               FieldScreenRenderer fieldScreenRenderer,
                               OperationContext operationContext,
                               Map<String,String[]> parameters,
                               boolean applyDefaults,
                               I18nHelper i18n)

validateLicense

void validateLicense(ErrorCollection errors,
                     I18nHelper i18n)

updateIssueFromFieldValuesHolder

void updateIssueFromFieldValuesHolder(FieldScreenRenderer fieldScreenRenderer,
                                      com.atlassian.crowd.embedded.api.User remoteUser,
                                      MutableIssue issueObject,
                                      Map fieldValuesHolder)

createFieldScreenRenderer

FieldScreenRenderer createFieldScreenRenderer(com.atlassian.crowd.embedded.api.User remoteUser,
                                              Issue issueObject)

getProvidedFieldNames

List<String> getProvidedFieldNames(com.atlassian.crowd.embedded.api.User remoteUser,
                                   Issue issueObject)

getFieldsForCreate

List<OrderableField> getFieldsForCreate(com.atlassian.crowd.embedded.api.User user,
                                        Issue issueObject)
Gets the fields that will be shown in the create issue screen for that issues project and issue type

Parameters:
user - the user in play
issueObject - the as yet saved issue object encompassing project and issue type
Returns:
the list of fields that will be shown on the create issue screen

validateProject

void validateProject(Issue issue,
                     OperationContext operationContext,
                     Map actionParams,
                     ErrorCollection errors,
                     I18nHelper i18n)

validateIssueType

void validateIssueType(Issue issue,
                       OperationContext operationContext,
                       Map actionParams,
                       ErrorCollection errors,
                       I18nHelper i18n)


Copyright © 2002-2012 Atlassian. All Rights Reserved.