public class AddNewIssueTypeToScheme extends JiraWebActionSupport implements AddIssueTypeAction
JiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactoryISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilterslog| Constructor and Description |
|---|
AddNewIssueTypeToScheme(ManageableOptionType 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, 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, urlEncodeaddErrorMessages, 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, removeKeyOrAddErroraddError, addErrorMessage, doDefault, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessagespublic AddNewIssueTypeToScheme(ManageableOptionType manageableOptionType, IssueTypeService issueTypeService)
public String getIconurl()
AddIssueTypeActiongetIconurl in interface AddIssueTypeActionpublic void setIconurl(String iconUrl)
AddIssueTypeActionsetIconurl in interface AddIssueTypeActioniconUrl - the icon URL for the issue type.public String getStyle()
AddIssueTypeActiongetStyle in interface AddIssueTypeActionpublic void setStyle(String style)
AddIssueTypeActionsetStyle in interface AddIssueTypeActionstyle - the style (i.e. subtask) of the issue type.public String getSubmitUrl()
AddIssueTypeActiongetSubmitUrl in interface AddIssueTypeActionpublic String getCancelUrl()
AddIssueTypeActiongetCancelUrl in interface AddIssueTypeActionpublic String getName()
AddIssueTypeActiongetName in interface AddIssueTypeActionpublic void setName(String name)
AddIssueTypeActionsetName in interface AddIssueTypeActionname - the name of the issue type.public String getDescription()
AddIssueTypeActiongetDescription in interface AddIssueTypeActionpublic void setDescription(String description)
AddIssueTypeActionsetDescription in interface AddIssueTypeActiondescription - 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()
AddIssueTypeActiongetHiddenFields in interface AddIssueTypeActionpublic ManageableOptionType getManageableOption()
getManageableOption in interface AddIssueTypeActionpublic Collection<IssueConstantOption> getAllOptions()
public String doInput()
protected void doValidation()
doValidation in class webwork.action.ActionSupportprotected String doExecute() throws CreateException
doExecute in class webwork.action.ActionSupportCreateExceptionCopyright © 2002-2015 Atlassian. All Rights Reserved.