Class IssueCreationHelperBeanImpl
java.lang.Object
com.atlassian.jira.web.action.issue.IssueCreationHelperBeanImpl
- All Implemented Interfaces:
IssueCreationHelperBean
-
Constructor Summary
ConstructorsConstructorDescriptionIssueCreationHelperBeanImpl
(FieldManager fieldManager, FieldScreenRendererFactory fieldScreenRendererFactory, CreateIssueLicenseCheck licenseCheck, JiraAuthenticationContext authenticationContext, FeatureManager featureManager) -
Method Summary
Modifier and TypeMethodDescriptioncreateFieldScreenRenderer
(Issue issueObject) createFieldScreenRenderer
(ApplicationUser remoteUser, Issue issueObject) Create a field screen renderergetFieldsForCreate
(ApplicationUser user, Issue issueObject) Gets the fields that will be shown in the create issue screen for that issues project and issue typegetProvidedFieldNames
(Issue issueObject) void
updateIssueFromFieldValuesHolder
(FieldScreenRenderer fieldScreenRenderer, MutableIssue issueObject, Map fieldValuesHolder) void
validateCreateIssueFields
(JiraServiceContext jiraServiceContext, Collection<String> providedFields, Issue issueObject, FieldScreenRenderer fieldScreenRenderer, OperationContext operationContext, IssueInputParameters issueInputParameters, I18nHelper i18n) protected void
validateCreateIssueFields
(JiraServiceContext jiraServiceContext, Collection<String> providedFields, Issue issueObject, FieldScreenRenderer fieldScreenRenderer, OperationContext operationContext, Map<String, String[]> actionParams, boolean applyDefaults, boolean skipScreenCheck, I18nHelper i18n) void
validateIssueType
(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n) void
validateLicense
(ApplicationUser remoteUser, ErrorCollection errors, I18nHelper i18n) void
validateLicense
(ErrorCollection errors, I18nHelper i18n) Checks that the currently installed license has not expired and all relevant license limitations with respect to user or role counts have not been exceeded.void
validateProject
(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n) void
validateSummary
(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)
-
Constructor Details
-
IssueCreationHelperBeanImpl
public IssueCreationHelperBeanImpl(@Nonnull FieldManager fieldManager, @Nonnull FieldScreenRendererFactory fieldScreenRendererFactory, @Nonnull CreateIssueLicenseCheck licenseCheck, JiraAuthenticationContext authenticationContext, FeatureManager featureManager)
-
-
Method Details
-
validateCreateIssueFields
public void validateCreateIssueFields(JiraServiceContext jiraServiceContext, Collection<String> providedFields, Issue issueObject, FieldScreenRenderer fieldScreenRenderer, OperationContext operationContext, IssueInputParameters issueInputParameters, I18nHelper i18n) - Specified by:
validateCreateIssueFields
in interfaceIssueCreationHelperBean
-
validateCreateIssueFields
protected void validateCreateIssueFields(JiraServiceContext jiraServiceContext, Collection<String> providedFields, Issue issueObject, FieldScreenRenderer fieldScreenRenderer, OperationContext operationContext, Map<String, String[]> actionParams, boolean applyDefaults, boolean skipScreenCheck, I18nHelper i18n) -
validateLicense
Description copied from interface:IssueCreationHelperBean
Checks that the currently installed license has not expired and all relevant license limitations with respect to user or role counts have not been exceeded.- Specified by:
validateLicense
in interfaceIssueCreationHelperBean
- See Also:
-
validateLicense
- Specified by:
validateLicense
in interfaceIssueCreationHelperBean
-
updateIssueFromFieldValuesHolder
public void updateIssueFromFieldValuesHolder(FieldScreenRenderer fieldScreenRenderer, MutableIssue issueObject, Map fieldValuesHolder) - Specified by:
updateIssueFromFieldValuesHolder
in interfaceIssueCreationHelperBean
-
createFieldScreenRenderer
Create a field screen renderer- Specified by:
createFieldScreenRenderer
in interfaceIssueCreationHelperBean
- Parameters:
remoteUser
-issueObject
- - with issue type and project
-
createFieldScreenRenderer
- Specified by:
createFieldScreenRenderer
in interfaceIssueCreationHelperBean
-
getProvidedFieldNames
- Specified by:
getProvidedFieldNames
in interfaceIssueCreationHelperBean
-
getFieldsForCreate
Description copied from interface:IssueCreationHelperBean
Gets the fields that will be shown in the create issue screen for that issues project and issue type- Specified by:
getFieldsForCreate
in interfaceIssueCreationHelperBean
- Parameters:
user
- the user in playissueObject
- 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
public void validateProject(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n) - Specified by:
validateProject
in interfaceIssueCreationHelperBean
-
validateIssueType
public void validateIssueType(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n) - Specified by:
validateIssueType
in interfaceIssueCreationHelperBean
-
validateSummary
public void validateSummary(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n) - Specified by:
validateSummary
in interfaceIssueCreationHelperBean
-
getField
-