public class

ViewIssueTypes

extends AbstractViewConstants
implements AddIssueTypeAction
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.admin.constants.AbstractConstantAction
           ↳ com.atlassian.jira.web.action.admin.constants.AbstractViewConstants
             ↳ com.atlassian.jira.web.action.admin.issuetypes.ViewIssueTypes

Summary

Constants
String NEW_ISSUE_TYPE_DEFAULT_ICON
[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.admin.constants.AbstractViewConstants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
ViewIssueTypes(FieldManager fieldManager, FieldConfigSchemeManager configSchemeManager, IssueTypeSchemeManager issueTypeSchemeManager, TranslationManager translationManager, IssueTypeManageableOption issueTypeManageableOption, IssueTypeManager issueTypeManager, EventPublisher eventPublisher)
Public Methods
String doAddIssueType()
String doAddNewIssueType()
String getActionType()
Collection getAllRelatedSchemes(String id)
String getCancelUrl()
The URL used for cancelling the form.
FieldConfigScheme getDefaultScheme()
List<Pair<StringObject>> getHiddenFields()
Return a list of {name, value} pairs to be added to the form as hidden fields.
ManageableOptionType getManageableOption()
List getSchemes()
String getStyle()
Get the style (i.e.
String getSubmitUrl()
Return the URL used for form submission.
void setStyle(String style)
Set the style (i.e.
Protected Methods
GenericValue addConstant()
void clearCaches()
Clear caches related to this constant
GenericValue getConstant(String id)
String getConstantEntityName()
Collection<GenericValue> getConstants()
Get a collection of this constant
String getDefaultPropertyName()
String getIssueConstantField()
String getNiceConstantName()
String getRedirectPage()
String redirectToView()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.admin.constants.AbstractViewConstants
From class com.atlassian.jira.web.action.admin.constants.AbstractConstantAction
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.action.admin.issuetypes.AddIssueTypeAction
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Constants

public static final String NEW_ISSUE_TYPE_DEFAULT_ICON

Constant Value: "/images/icons/issuetypes/genericissue.png"

Public Constructors

public ViewIssueTypes (FieldManager fieldManager, FieldConfigSchemeManager configSchemeManager, IssueTypeSchemeManager issueTypeSchemeManager, TranslationManager translationManager, IssueTypeManageableOption issueTypeManageableOption, IssueTypeManager issueTypeManager, EventPublisher eventPublisher)

Public Methods

public String doAddIssueType ()

Throws
Exception

public String doAddNewIssueType ()

public String getActionType ()

public Collection getAllRelatedSchemes (String id)

public String getCancelUrl ()

The URL used for cancelling the form.

Returns
  • the URL for cancel URL.

public FieldConfigScheme getDefaultScheme ()

public List<Pair<StringObject>> getHiddenFields ()

Return a list of {name, value} pairs to be added to the form as hidden fields.

Returns
  • the list of {name, value} pairs.

public ManageableOptionType getManageableOption ()

public List getSchemes ()

public String getStyle ()

Get the style (i.e. subtask) of the issue type.

Returns
  • the style of the issue type.

public String getSubmitUrl ()

Return the URL used for form submission.

Returns
  • the URL for form submission.

public void setStyle (String style)

Set the style (i.e. subtask) of the issue type.

Parameters
style the style (i.e. subtask) of the issue type.

Protected Methods

protected GenericValue addConstant ()

Throws
GenericEntityException

protected void clearCaches ()

Clear caches related to this constant

protected GenericValue getConstant (String id)

protected String getConstantEntityName ()

protected Collection<GenericValue> getConstants ()

Get a collection of this constant

protected String getDefaultPropertyName ()

protected String getIssueConstantField ()

protected String getNiceConstantName ()

protected String getRedirectPage ()

protected String redirectToView ()