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

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

public class ConfigureOptionScheme
extends AbstractManageIssueTypeOptionsAction
implements ExecutableAction

See Also:
Serialized Form

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

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)
Method Detail

doDefault

public String doDefault()
                 throws Exception
Throws:
Exception

doCopy

public String doCopy()
              throws Exception
Throws:
Exception

doValidation

protected void doValidation()

doExecute

protected String doExecute()
                    throws Exception
Throws:
Exception

doAddConstant

public String doAddConstant()
                     throws Exception
Throws:
Exception

run

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

Specified by:
run in interface ExecutableAction

getOptionsForScheme

public Collection getOptionsForScheme()

isAllowEditOptions

public boolean isAllowEditOptions()

isAllowEdit

public boolean isAllowEdit()

getAvailableOptions

public Collection getAvailableOptions()

getAllOptions

public 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 Collection getTargetOptions()

getNewOptions

protected Collection getNewOptions()

getOriginalOptions

protected Collection getOriginalOptions()

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getDefaultOption

public String getDefaultOption()

setDefaultOption

public void setDefaultOption(String defaultOption)

getConstantName

public String getConstantName()

setConstantName

public void setConstantName(String constantName)

getConstantDescription

public String getConstantDescription()

setConstantDescription

public void setConstantDescription(String constantDescription)

getIconurl

public String getIconurl()

setIconurl

public void setIconurl(String iconurl)

getStyle

public String getStyle()

setStyle

public void setStyle(String style)

getSelectedOptions

public String[] getSelectedOptions()

setSelectedOptions

public void setSelectedOptions(String[] selectedOptions)

getProjectId

public Long getProjectId()

setProjectId

public void setProjectId(Long projectId)


Copyright © 2002-2006 Atlassian. All Rights Reserved.