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, 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
 
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, 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, IssueManager issueManager)
           
 
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, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, 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, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, 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,
                             IssueManager issueManager)
Method Detail

doDefault

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

doCopy

public String doCopy()
              throws Exception
Throws:
Exception

doValidation

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

doExecute

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