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, AuthorizationSupport, 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.ErrorCollection
ErrorCollection.Reason
 
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 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
 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
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAssignableUsers, getAssignableUsers, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getReasons, getRedirect, getRedirectChecker, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, 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 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 String doDefault()
                 throws Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
Exception

doExecute

protected String doExecute()
                    throws Exception
Overrides:
doExecute in class webwork.action.ActionSupport
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-2011 Atlassian. All Rights Reserved.