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, HttpServletVariables, AuthorizationSupport, 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 class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
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
           
 
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
 String doCopy()
           
 String doDefault()
           
protected  String doExecute()
           
 String doInput()
           
protected  void doValidation()
           
 Collection<?> getAllOptions()
           
 Collection getAvailableOptions()
           
 FieldConfigScheme getConfigScheme()
           
 String getDefaultOption()
           
 String getDescription()
           
 long getMaxHeight()
           
 String getName()
           
protected  Collection getNewOptions()
           
 Collection getOptionsForScheme()
           
protected  Collection getOriginalOptions()
           
 org.ofbiz.core.entity.GenericValue getProject()
           
 Long getProjectId()
           
 String[] getSelectedOptions()
           
 Collection getTargetOptions()
           
 boolean isAllowEditOptions()
           
 void run()
          Run the action
 void setDefaultOption(String defaultOption)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setProjectId(Long projectId)
           
 void setSelectedOptions(String[] selectedOptions)
           
 
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
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, 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, 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 String doDefault()
                 throws Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
Exception

doInput

public String doInput()

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

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()

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)

getSelectedOptions

public String[] getSelectedOptions()

setSelectedOptions

public void setSelectedOptions(String[] selectedOptions)

getProjectId

public Long getProjectId()

setProjectId

public void setProjectId(Long projectId)


Copyright © 2002-2013 Atlassian. All Rights Reserved.