|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwebwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.admin.issuetypes.AddNewIssueTypeToScheme
public class AddNewIssueTypeToScheme
Will add a new issue type and then redirect the user back to the modify issue type scheme page.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
---|
JiraWebActionSupport.MessageType |
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection |
---|
ErrorCollection.Reason |
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper |
---|
I18nHelper.BeanFactory |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
---|
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters |
Fields inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
log |
Fields inherited from class webwork.action.ActionSupport |
---|
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
AddNewIssueTypeToScheme(ManageableOptionType manageableOptionType,
ConstantsManager constantsManager,
IssueTypeSchemeManager schemeManager)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
---|
addError, addErrorMessage, doDefault, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.util.ErrorCollection |
---|
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages |
Methods inherited from interface webwork.action.CommandDriven |
---|
getCommandName, setCommand |
Constructor Detail |
---|
public AddNewIssueTypeToScheme(ManageableOptionType manageableOptionType, ConstantsManager constantsManager, IssueTypeSchemeManager schemeManager)
Method Detail |
---|
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 List<Pair<String,Object>> getHiddenFields()
AddIssueTypeAction
getHiddenFields
in interface AddIssueTypeAction
public ManageableOptionType getManageableOption()
getManageableOption
in interface AddIssueTypeAction
public IssueConstantOption getNewIssueType()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |