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

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

public class ManageConfigurationScheme
extends JiraWebActionSupport

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
protected  ConstantsManager constantsManager
           
protected  CustomFieldContextConfigHelper customFieldContextConfigHelper
           
protected  CustomFieldManager customFieldManager
           
protected  FieldConfigManager fieldConfigManager
           
protected  FieldConfigSchemeManager fieldConfigSchemeManager
           
protected  ProjectManager projectManager
           
static java.lang.String REDIRECT_URL_PREFIX
           
protected  ReindexMessageManager reindexMessageManager
           
protected  JiraContextTreeManager treeManager
           
 
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
ManageConfigurationScheme(FieldConfigManager fieldConfigManager, CustomFieldManager customFieldManager, FieldConfigSchemeManager fieldConfigSchemeManager, ProjectManager projectManager, ConstantsManager constantsManager, JiraContextTreeManager treeManager, SubTaskManager subTaskManager, ReindexMessageManager reindexMessageManager, CustomFieldContextConfigHelper customFieldContextConfigHelper)
           
 
Method Summary
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
 java.lang.String doRemove()
           
protected  void doValidation()
           
 java.util.Collection getAllIssueTypes()
           
 java.util.Collection getAllProjectCategories()
           
 java.util.Collection getAllProjects()
           
 FieldConfigScheme getConfig()
           
 CustomField getCustomField()
           
 java.lang.Long getCustomFieldId()
           
 java.lang.String getDescription()
           
 java.lang.Long[] getFieldConfigIds()
           
 FieldConfigScheme getFieldConfigScheme()
           
 java.lang.Long getFieldConfigSchemeId()
           
 java.util.Map getGlobalContextOption()
           
 java.lang.String[] getIssuetypes()
           
 java.lang.String getName()
           
 java.lang.Long[] getProjectCategories()
           
 java.lang.Long[] getProjects()
           
 boolean isBasicMode()
           
 boolean isGlobal()
           
 boolean isGlobalAvailable()
           
 void setBasicMode(boolean basicMode)
           
 void setCustomFieldId(java.lang.Long customFieldId)
           
 void setDescription(java.lang.String description)
           
 void setFieldConfigIds(java.lang.Long[] fieldConfigIds)
           
 void setFieldConfigScheme(FieldConfigScheme fieldConfigScheme)
           
 void setFieldConfigSchemeId(java.lang.Long fieldConfigSchemeId)
           
 void setGlobal(boolean global)
           
 void setIssuetypes(java.lang.String[] issuetypes)
           
 void setName(java.lang.String name)
           
 void setProjectCategories(java.lang.Long[] projectCategories)
           
 void setProjects(java.lang.Long[] projects)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, 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
getCommandName, setCommand
 

Field Detail

REDIRECT_URL_PREFIX

public static final java.lang.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

reindexMessageManager

protected final ReindexMessageManager reindexMessageManager

customFieldContextConfigHelper

protected final CustomFieldContextConfigHelper customFieldContextConfigHelper
Constructor Detail

ManageConfigurationScheme

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

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
java.lang.Exception

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
java.lang.Exception

doRemove

public java.lang.String doRemove()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getConfig

public FieldConfigScheme getConfig()

getCustomField

public CustomField getCustomField()

getAllProjectCategories

public java.util.Collection getAllProjectCategories()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

getAllProjects

public java.util.Collection getAllProjects()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getAllIssueTypes

public java.util.Collection getAllIssueTypes()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

isGlobalAvailable

public boolean isGlobalAvailable()

setFieldConfigSchemeId

public void setFieldConfigSchemeId(java.lang.Long fieldConfigSchemeId)

getFieldConfigSchemeId

public java.lang.Long getFieldConfigSchemeId()

getProjects

public java.lang.Long[] getProjects()

setProjects

public void setProjects(java.lang.Long[] projects)

getIssuetypes

public java.lang.String[] getIssuetypes()

setIssuetypes

public void setIssuetypes(java.lang.String[] issuetypes)

getCustomFieldId

public java.lang.Long getCustomFieldId()

setCustomFieldId

public void setCustomFieldId(java.lang.Long customFieldId)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getFieldConfigScheme

public FieldConfigScheme getFieldConfigScheme()

setFieldConfigScheme

public void setFieldConfigScheme(FieldConfigScheme fieldConfigScheme)

getProjectCategories

public java.lang.Long[] getProjectCategories()

setProjectCategories

public void setProjectCategories(java.lang.Long[] projectCategories)

getGlobalContextOption

public java.util.Map getGlobalContextOption()

isBasicMode

public boolean isBasicMode()

setBasicMode

public void setBasicMode(boolean basicMode)

isGlobal

public boolean isGlobal()

setGlobal

public void setGlobal(boolean global)

getFieldConfigIds

public java.lang.Long[] getFieldConfigIds()

setFieldConfigIds

public void setFieldConfigIds(java.lang.Long[] fieldConfigIds)


Copyright © 2002-2010 Atlassian. All Rights Reserved.