public class AddNewIssueTypeToScheme extends JiraWebActionSupport implements AddIssueTypeAction
JiraWebActionSupport.MessageType
I18nHelper.BeanFactory
ErrorCollection.Reason
ISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
Constructor and Description |
---|
AddNewIssueTypeToScheme(IssueTypeManageableOption manageableOptionType,
IssueTypeService issueTypeService) |
Modifier and Type | Method and Description |
---|---|
protected String |
doExecute() |
String |
doInput() |
protected void |
doValidation() |
Collection<IssueConstantOption> |
getAllOptions() |
String |
getCancelUrl()
The URL used for cancelling the form.
|
String |
getDefaultOption() |
String |
getDescription()
Get the description of the issue type.
|
String |
getFieldId() |
List<Pair<String,Object>> |
getHiddenFields()
Return a list of {name, value} pairs to be added to the form as hidden fields.
|
String |
getIconurl()
Get the Icon URL for the issue type.
|
ManageableOptionType |
getManageableOption() |
String |
getName()
Get the name of the issue type.
|
IssueConstantOption |
getNewIssueType() |
Long |
getProjectId() |
String |
getSchemeDescription() |
Long |
getSchemeId() |
String |
getSchemeName() |
String[] |
getSelectedOptions() |
String |
getStyle()
Get the style (i.e.
|
String |
getSubmitUrl()
Return the URL used for form submission.
|
void |
setDefaultOption(String defaultOption) |
void |
setDescription(String description)
Set the description of the issue type.
|
void |
setFieldId(String fieldId) |
void |
setIconurl(String iconUrl)
Set the Icon URL for the issue type.
|
void |
setName(String name)
Set the name of the issue type.
|
void |
setProjectId(Long projectId) |
void |
setSchemeDescription(String schemeDescription) |
void |
setSchemeId(Long schemeId) |
void |
setSchemeName(String schemeName) |
void |
setSelectedOptions(String[] selectedOptions) |
void |
setStyle(String style)
Set the style (i.e.
|
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addError, addErrorMessage, doDefault, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, setErrorMessages
public AddNewIssueTypeToScheme(IssueTypeManageableOption manageableOptionType, IssueTypeService issueTypeService)
public String getIconurl()
AddIssueTypeAction
getIconurl
in interface AddIssueTypeAction
public void setIconurl(String iconUrl)
AddIssueTypeAction
setIconurl
in interface AddIssueTypeAction
iconUrl
- the icon URL for the issue type.public String getStyle()
AddIssueTypeAction
getStyle
in interface AddIssueTypeAction
public void setStyle(String style)
AddIssueTypeAction
setStyle
in interface AddIssueTypeAction
style
- the style (i.e. subtask) of the issue type.public String getSubmitUrl()
AddIssueTypeAction
getSubmitUrl
in interface AddIssueTypeAction
public String getCancelUrl()
AddIssueTypeAction
getCancelUrl
in interface AddIssueTypeAction
public String getName()
AddIssueTypeAction
getName
in interface AddIssueTypeAction
public void setName(String name)
AddIssueTypeAction
setName
in interface AddIssueTypeAction
name
- the name of the issue type.public String getDescription()
AddIssueTypeAction
getDescription
in interface AddIssueTypeAction
public void setDescription(String description)
AddIssueTypeAction
setDescription
in interface AddIssueTypeAction
description
- the description of the issue type.public String getFieldId()
public void setFieldId(String fieldId)
public Long getSchemeId()
public void setSchemeId(Long schemeId)
public String getDefaultOption()
public void setDefaultOption(String defaultOption)
public String[] getSelectedOptions()
public void setSelectedOptions(String[] selectedOptions)
public String getSchemeName()
public void setSchemeName(String schemeName)
public String getSchemeDescription()
public void setSchemeDescription(String schemeDescription)
public Long getProjectId()
public void setProjectId(Long projectId)
public IssueConstantOption getNewIssueType()
public List<Pair<String,Object>> getHiddenFields()
AddIssueTypeAction
getHiddenFields
in interface AddIssueTypeAction
public ManageableOptionType getManageableOption()
getManageableOption
in interface AddIssueTypeAction
public Collection<IssueConstantOption> getAllOptions()
public String doInput()
protected void doValidation()
doValidation
in class webwork.action.ActionSupport
protected String doExecute() throws CreateException
doExecute
in class webwork.action.ActionSupport
CreateException
Copyright © 2002-2023 Atlassian. All Rights Reserved.