public class AddNewIssueTypeToScheme extends JiraWebActionSupport implements AddIssueTypeAction
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
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, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
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, addErrorMessages, addErrors, hasAnyErrors, 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-2019 Atlassian. All Rights Reserved.