public class IssueCreationHelperBeanImpl extends Object implements IssueCreationHelperBean
| Constructor and Description |
|---|
IssueCreationHelperBeanImpl(FieldManager fieldManager,
FieldScreenRendererFactory fieldScreenRendererFactory,
CreateIssueLicenseCheck licenseCheck,
JiraAuthenticationContext authenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
FieldScreenRenderer |
createFieldScreenRenderer(ApplicationUser remoteUser,
Issue issueObject)
Create a field screen renderer
|
FieldScreenRenderer |
createFieldScreenRenderer(Issue issueObject) |
Field |
getField(String id) |
List<OrderableField> |
getFieldsForCreate(ApplicationUser 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(ApplicationUser remoteUser,
Issue issueObject) |
List<String> |
getProvidedFieldNames(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) |
public IssueCreationHelperBeanImpl(@Nonnull FieldManager fieldManager, @Nonnull FieldScreenRendererFactory fieldScreenRendererFactory, @Nonnull CreateIssueLicenseCheck licenseCheck, JiraAuthenticationContext authenticationContext)
public void validateCreateIssueFields(JiraServiceContext jiraServiceContext, Collection<String> providedFields, Issue issueObject, FieldScreenRenderer fieldScreenRenderer, OperationContext operationContext, IssueInputParameters issueInputParameters, I18nHelper i18n)
validateCreateIssueFields in interface IssueCreationHelperBeanprotected void validateCreateIssueFields(JiraServiceContext jiraServiceContext, Collection<String> providedFields, Issue issueObject, FieldScreenRenderer fieldScreenRenderer, OperationContext operationContext, Map<String,String[]> actionParams, boolean applyDefaults, boolean skipScreenCheck, I18nHelper i18n)
public void validateLicense(ErrorCollection errors, I18nHelper i18n)
IssueCreationHelperBeanvalidateLicense in interface IssueCreationHelperBeanLicenseDetails.isExpired()public void validateLicense(ApplicationUser remoteUser, ErrorCollection errors, I18nHelper i18n)
validateLicense in interface IssueCreationHelperBeanpublic void updateIssueFromFieldValuesHolder(FieldScreenRenderer fieldScreenRenderer, MutableIssue issueObject, Map fieldValuesHolder)
updateIssueFromFieldValuesHolder in interface IssueCreationHelperBeanpublic FieldScreenRenderer createFieldScreenRenderer(ApplicationUser remoteUser, Issue issueObject)
createFieldScreenRenderer in interface IssueCreationHelperBeanremoteUser - issueObject - - with issue type and projectpublic FieldScreenRenderer createFieldScreenRenderer(Issue issueObject)
createFieldScreenRenderer in interface IssueCreationHelperBeanpublic List<String> getProvidedFieldNames(ApplicationUser remoteUser, Issue issueObject)
getProvidedFieldNames in interface IssueCreationHelperBeanpublic List<String> getProvidedFieldNames(Issue issueObject)
getProvidedFieldNames in interface IssueCreationHelperBeanpublic List<OrderableField> getFieldsForCreate(ApplicationUser user, Issue issueObject)
IssueCreationHelperBeangetFieldsForCreate in interface IssueCreationHelperBeanuser - the user in playissueObject - the as yet saved issue object encompassing project and issue typepublic void validateProject(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)
validateProject in interface IssueCreationHelperBeanpublic void validateIssueType(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)
validateIssueType in interface IssueCreationHelperBeanpublic void validateSummary(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)
validateSummary in interface IssueCreationHelperBeanCopyright © 2002-2017 Atlassian. All Rights Reserved.