com.atlassian.jira.web.action.admin.issuetypes
Class ConfigureOptionScheme

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.issuetypes.AbstractManageIssueTypeOptionsAction
                  extended by com.atlassian.jira.web.action.admin.issuetypes.ConfigureOptionScheme
All Implemented Interfaces:
ErrorCollection, I18nHelper, ExecutableAction, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
ConfigureIssueTypeOptionScheme

public class ConfigureOptionScheme
extends AbstractManageIssueTypeOptionsAction
implements ExecutableAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.admin.issuetypes.AbstractManageIssueTypeOptionsAction
AbstractManageIssueTypeOptionsAction.FieldConfigPredicate
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
protected  ConstantsManager constantsManager
           
 
Fields inherited from class com.atlassian.jira.web.action.admin.issuetypes.AbstractManageIssueTypeOptionsAction
bulkMoveOperation, configScheme, configSchemeManager, fieldId, fieldManager, issueManager, issueTypeSchemeManager, manageableOptionType, optionSetManager, schemeId, searcherManager, searchProvider
 
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
ConfigureOptionScheme(FieldConfigSchemeManager configSchemeManager, IssueTypeSchemeManager issueTypeSchemeManager, FieldManager fieldManager, OptionSetManager optionSetManager, IssueTypeManageableOption manageableOptionType, BulkMoveOperation bulkMoveOperation, SearchProvider searchProvider, ConstantsManager constantsManager, IssueManager issueManager)
           
 
Method Summary
 java.lang.String doAddConstant()
           
 java.lang.String doCopy()
           
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
protected  void doValidation()
           
 java.util.Collection getAllOptions()
           
 java.util.Collection getAvailableOptions()
           
 FieldConfigScheme getConfigScheme()
           
 java.lang.String getConstantDescription()
           
 java.lang.String getConstantName()
           
 java.lang.String getDefaultOption()
           
 java.lang.String getDescription()
           
 java.lang.String getIconurl()
           
 long getMaxHeight()
           
 java.lang.String getName()
           
protected  java.util.Collection getNewOptions()
           
 java.util.Collection getOptionsForScheme()
           
protected  java.util.Collection getOriginalOptions()
           
 org.ofbiz.core.entity.GenericValue getProject()
           
 java.lang.Long getProjectId()
           
 java.lang.String[] getSelectedOptions()
           
 java.lang.String getStyle()
           
 java.util.Collection getTargetOptions()
           
 boolean isAllowEdit()
           
 boolean isAllowEditOptions()
           
 void run()
          Run the action
 void setConstantDescription(java.lang.String constantDescription)
           
 void setConstantName(java.lang.String constantName)
           
 void setDefaultOption(java.lang.String defaultOption)
           
 void setDescription(java.lang.String description)
           
 void setIconurl(java.lang.String iconurl)
           
 void setName(java.lang.String name)
           
 void setProjectId(java.lang.Long projectId)
           
 void setSelectedOptions(java.lang.String[] selectedOptions)
           
 void setStyle(java.lang.String style)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.issuetypes.AbstractManageIssueTypeOptionsAction
getConfigurableField, getFieldId, getManageableOption, getQuery, getRedirect, getSchemeId, migrateIssues, setConfigScheme, setFieldId, setSchemeId
 
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

constantsManager

protected final ConstantsManager constantsManager
Constructor Detail

ConfigureOptionScheme

public ConfigureOptionScheme(FieldConfigSchemeManager configSchemeManager,
                             IssueTypeSchemeManager issueTypeSchemeManager,
                             FieldManager fieldManager,
                             OptionSetManager optionSetManager,
                             IssueTypeManageableOption manageableOptionType,
                             BulkMoveOperation bulkMoveOperation,
                             SearchProvider searchProvider,
                             ConstantsManager constantsManager,
                             IssueManager issueManager)
Method Detail

doDefault

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

doCopy

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

doValidation

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

doExecute

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

doAddConstant

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

run

public void run()
Description copied from interface: ExecutableAction
Run the action

Specified by:
run in interface ExecutableAction

getOptionsForScheme

public java.util.Collection getOptionsForScheme()

isAllowEditOptions

public boolean isAllowEditOptions()

isAllowEdit

public boolean isAllowEdit()

getAvailableOptions

public java.util.Collection getAvailableOptions()

getAllOptions

public java.util.Collection getAllOptions()

getMaxHeight

public long getMaxHeight()

getConfigScheme

public FieldConfigScheme getConfigScheme()
Overrides:
getConfigScheme in class AbstractManageIssueTypeOptionsAction

getProject

public org.ofbiz.core.entity.GenericValue getProject()

getTargetOptions

public java.util.Collection getTargetOptions()

getNewOptions

protected java.util.Collection getNewOptions()

getOriginalOptions

protected java.util.Collection getOriginalOptions()

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)

getDefaultOption

public java.lang.String getDefaultOption()

setDefaultOption

public void setDefaultOption(java.lang.String defaultOption)

getConstantName

public java.lang.String getConstantName()

setConstantName

public void setConstantName(java.lang.String constantName)

getConstantDescription

public java.lang.String getConstantDescription()

setConstantDescription

public void setConstantDescription(java.lang.String constantDescription)

getIconurl

public java.lang.String getIconurl()

setIconurl

public void setIconurl(java.lang.String iconurl)

getStyle

public java.lang.String getStyle()

setStyle

public void setStyle(java.lang.String style)

getSelectedOptions

public java.lang.String[] getSelectedOptions()

setSelectedOptions

public void setSelectedOptions(java.lang.String[] selectedOptions)

getProjectId

public java.lang.Long getProjectId()

setProjectId

public void setProjectId(java.lang.Long projectId)


Copyright © 2002-2010 Atlassian. All Rights Reserved.