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, HttpServletVariables, AuthorizationSupport, 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 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
static 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
 String doDefault()
           
 String doExecute()
           
 String doSelectSchemes()
           
 String doSwitch()
           
 void doValidation()
           
 String getRedirectPage()
           
 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
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

SELECTED_SCHEMES_SESSION_KEY

public static final 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 String doDefault()
Overrides:
doDefault in class AbstractSchemePickerAction

doValidation

public void doValidation()
Overrides:
doValidation in class AbstractSchemePickerAction

doSwitch

public String doSwitch()
Overrides:
doSwitch in class AbstractSchemePickerAction

doExecute

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

doSelectSchemes

public String doSelectSchemes()

getRedirectPage

public String getRedirectPage()
Specified by:
getRedirectPage in class AbstractSchemePickerAction

getToolName

public 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-2013 Atlassian. All Rights Reserved.