com.atlassian.jira.web.action.admin.customfields
Class ManageConfigurationScheme

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.admin.customfields.ManageConfigurationScheme
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, Serializable

public class ManageConfigurationScheme
extends JiraWebActionSupport

See Also:
Serialized Form

Field Summary
protected  ConstantsManager constantsManager
           
protected  CustomFieldManager customFieldManager
           
protected  FieldConfigManager fieldConfigManager
           
protected  FieldConfigSchemeManager fieldConfigSchemeManager
           
protected  ProjectManager projectManager
           
static String REDIRECT_URL_PREFIX
           
protected  JiraContextTreeManager treeManager
           
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, savedFilters, selectedProject
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ManageConfigurationScheme(FieldConfigManager fieldConfigManager, CustomFieldManager customFieldManager, FieldConfigSchemeManager fieldConfigSchemeManager, ProjectManager projectManager, ConstantsManager constantsManager, JiraContextTreeManager treeManager, SubTaskManager subTaskManager)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
 String doRemove()
           
protected  void doValidation()
           
 Collection getAllIssueTypes()
           
 Collection getAllProjectCategories()
           
 Collection getAllProjects()
           
 FieldConfigScheme getConfig()
           
 CustomField getCustomField()
           
 Long getCustomFieldId()
           
 String getDescription()
           
 Long[] getFieldConfigIds()
           
 FieldConfigScheme getFieldConfigScheme()
           
 Long getFieldConfigSchemeId()
           
 Map getGlobalContextOption()
           
 String[] getIssuetypes()
           
 String getName()
           
 Long[] getProjectCategories()
           
 Long[] getProjects()
           
 boolean isBasicMode()
           
 boolean isGlobal()
           
 boolean isGlobalAvailable()
           
 void setBasicMode(boolean basicMode)
           
 void setCustomFieldId(Long customFieldId)
           
 void setDescription(String description)
           
 void setFieldConfigIds(Long[] fieldConfigIds)
           
 void setFieldConfigScheme(FieldConfigScheme fieldConfigScheme)
           
 void setFieldConfigSchemeId(Long fieldConfigSchemeId)
           
 void setGlobal(boolean global)
           
 void setIssuetypes(String[] issuetypes)
           
 void setName(String name)
           
 void setProjectCategories(Long[] projectCategories)
           
 void setProjects(Long[] projects)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getErrorMessages, getErrors, 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, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

REDIRECT_URL_PREFIX

public static final String REDIRECT_URL_PREFIX
See Also:
Constant Field Values

customFieldManager

protected final CustomFieldManager customFieldManager

fieldConfigSchemeManager

protected final FieldConfigSchemeManager fieldConfigSchemeManager

fieldConfigManager

protected final FieldConfigManager fieldConfigManager

projectManager

protected final ProjectManager projectManager

constantsManager

protected final ConstantsManager constantsManager

treeManager

protected final JiraContextTreeManager treeManager
Constructor Detail

ManageConfigurationScheme

public ManageConfigurationScheme(FieldConfigManager fieldConfigManager,
                                 CustomFieldManager customFieldManager,
                                 FieldConfigSchemeManager fieldConfigSchemeManager,
                                 ProjectManager projectManager,
                                 ConstantsManager constantsManager,
                                 JiraContextTreeManager treeManager,
                                 SubTaskManager subTaskManager)
Method Detail

doValidation

protected void doValidation()

doDefault

public String doDefault()
                 throws Exception
Throws:
Exception

doExecute

protected String doExecute()
                    throws Exception
Throws:
Exception

doRemove

public String doRemove()
                throws Exception
Throws:
Exception

getConfig

public FieldConfigScheme getConfig()

getCustomField

public CustomField getCustomField()

getAllProjectCategories

public Collection getAllProjectCategories()
                                   throws Exception
Throws:
Exception

getAllProjects

public Collection getAllProjects()
                          throws Exception
Throws:
Exception

getAllIssueTypes

public Collection getAllIssueTypes()
                            throws Exception
Throws:
Exception

isGlobalAvailable

public boolean isGlobalAvailable()

setFieldConfigSchemeId

public void setFieldConfigSchemeId(Long fieldConfigSchemeId)

getFieldConfigSchemeId

public Long getFieldConfigSchemeId()

getProjects

public Long[] getProjects()

setProjects

public void setProjects(Long[] projects)

getIssuetypes

public String[] getIssuetypes()

setIssuetypes

public void setIssuetypes(String[] issuetypes)

getCustomFieldId

public Long getCustomFieldId()

setCustomFieldId

public void setCustomFieldId(Long customFieldId)

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getFieldConfigScheme

public FieldConfigScheme getFieldConfigScheme()

setFieldConfigScheme

public void setFieldConfigScheme(FieldConfigScheme fieldConfigScheme)

getProjectCategories

public Long[] getProjectCategories()

setProjectCategories

public void setProjectCategories(Long[] projectCategories)

getGlobalContextOption

public Map getGlobalContextOption()

isBasicMode

public boolean isBasicMode()

setBasicMode

public void setBasicMode(boolean basicMode)

isGlobal

public boolean isGlobal()

setGlobal

public void setGlobal(boolean global)

getFieldConfigIds

public Long[] getFieldConfigIds()

setFieldConfigIds

public void setFieldConfigIds(Long[] fieldConfigIds)


Copyright © 2002-2006 Atlassian. All Rights Reserved.