com.atlassian.jira.web.action.admin.scheme.distiller
Class SchemeTypePickerAction

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.scheme.AbstractSchemeToolAction
                  extended by com.atlassian.jira.web.action.admin.scheme.AbstractSchemePickerAction
                      extended by com.atlassian.jira.web.action.admin.scheme.distiller.SchemeTypePickerAction
All Implemented Interfaces:
ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class SchemeTypePickerAction
extends AbstractSchemePickerAction

This is the first step in the scheme merge tool it allows you to select the type of scheme to merge and if the schemes are associated or all schemes.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static java.lang.String SELECTED_SCHEMES_SESSION_KEY
           
 
Fields inherited from class com.atlassian.jira.web.action.admin.scheme.AbstractSchemePickerAction
ALL, ASSOCIATED
 
Fields inherited from class com.atlassian.jira.web.action.admin.scheme.AbstractSchemeToolAction
applicationProperties
 
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
SchemeTypePickerAction(SchemeManagerFactory schemeManagerFactory, SchemeFactory schemeFactory, ApplicationProperties applicationProperties)
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String doExecute()
           
 java.lang.String doSelectSchemes()
           
 java.lang.String doSwitch()
           
 void doValidation()
           
 java.lang.String getRedirectPage()
           
 java.lang.String getToolName()
          This is set to SchemeComparisonToolAction.SCHEME_TOOL_NAME because if the comparison tool finds no difference, it adds a link to the merge tool which needs the selected schemes to be taken from the comparisons session.
 
Methods inherited from class com.atlassian.jira.web.action.admin.scheme.AbstractSchemePickerAction
getMaxNumberOfSchemesToCompare, getSchemePickerWebComponentHtml, getSchemes, getSchemeTypes, getTypeOfSchemesToDisplay, setTypeOfSchemesToDisplay
 
Methods inherited from class com.atlassian.jira.web.action.admin.scheme.AbstractSchemeToolAction
getSchemeFactory, getSchemeManager, getSchemeManagerFactory, getSchemeObjs, getSelectedSchemeIds, getSelectedSchemeIdsSessionKey, getSelectedSchemeType, isHasSelectedSchemeIds, resetSelectedSchemeIds, setSelectedSchemeIds, setSelectedSchemeType, storeSelectedSchemeIdsInSession
 
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

SELECTED_SCHEMES_SESSION_KEY

public static final java.lang.String SELECTED_SCHEMES_SESSION_KEY
See Also:
Constant Field Values
Constructor Detail

SchemeTypePickerAction

public SchemeTypePickerAction(SchemeManagerFactory schemeManagerFactory,
                              SchemeFactory schemeFactory,
                              ApplicationProperties applicationProperties)
Method Detail

doDefault

public java.lang.String doDefault()
Overrides:
doDefault in class AbstractSchemePickerAction

doValidation

public void doValidation()
Overrides:
doValidation in class AbstractSchemePickerAction

doSwitch

public java.lang.String doSwitch()
Overrides:
doSwitch in class AbstractSchemePickerAction

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Overrides:
doExecute in class AbstractSchemePickerAction
Throws:
java.lang.Exception

doSelectSchemes

public java.lang.String doSelectSchemes()

getRedirectPage

public java.lang.String getRedirectPage()
Specified by:
getRedirectPage in class AbstractSchemePickerAction

getToolName

public java.lang.String getToolName()
This is set to SchemeComparisonToolAction.SCHEME_TOOL_NAME because if the comparison tool finds no difference, it adds a link to the merge tool which needs the selected schemes to be taken from the comparisons session.

Overrides:
getToolName in class AbstractSchemeToolAction
Returns:
Name identifying a set of related picker tools uniquely
See Also:
AbstractSchemeToolAction.getSelectedSchemeIdsSessionKey()


Copyright © 2002-2010 Atlassian. All Rights Reserved.