com.atlassian.jira.web.action.admin.workflow.scheme
Class SelectProjectWorkflowSchemeStep2

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.scheme.AbstractSchemeAwareAction
                  extended by com.atlassian.jira.scheme.AbstractSelectProjectScheme
                      extended by com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowScheme
                          extended by com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2
All Implemented Interfaces:
ErrorCollection, I18nHelper, ProjectAware, SchemeAware, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class SelectProjectWorkflowSchemeStep2
extends SelectProjectWorkflowScheme

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
 
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
SelectProjectWorkflowSchemeStep2(SearchProvider searchProvider, org.ofbiz.core.entity.DelegatorInterface delegator, IssueManager issueManager, TaskManager taskManager, JiraAuthenticationContext authenticationContext, OutlookDateManager outlookDateManager, WorkflowManager workflowManager, ConstantsManager constantsManager, WorkflowSchemeManager workflowSchemeManager)
           
 
Method Summary
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
static java.lang.String getAbortedMigrationMessageKey()
           
 JiraWorkflow getExistingWorkflow(org.ofbiz.core.entity.GenericValue issueType)
           
 java.util.Map getFailedIssueIds()
           
static java.lang.String getFailureMigrationMessageKey()
           
 EnterpriseWorkflowMigrationHelper getMigrationHelper()
           
 long getNumAffectedIssues(org.ofbiz.core.entity.GenericValue issueType)
           
 java.lang.String getSelectListName(org.ofbiz.core.entity.GenericValue issueType, org.ofbiz.core.entity.GenericValue status)
           
 java.util.Collection getStatusesNeedingMigration(org.ofbiz.core.entity.GenericValue issueType)
           
 java.util.Collection getTargetStatuses(org.ofbiz.core.entity.GenericValue issueType)
           
 JiraWorkflow getTargetWorkflow(org.ofbiz.core.entity.GenericValue issueType)
           
 long getTotalAffectedIssues(org.ofbiz.core.entity.GenericValue issueType)
           
 boolean isHaveIssuesToMigrate()
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowScheme
getCurrentTask, getCurrentTask, getRedirectURL, getSchemeManager, getTaskManager, initTaskDescriptorBean, isAnyLiveTasks
 
Methods inherited from class com.atlassian.jira.scheme.AbstractSelectProjectScheme
doValidation, getProject, getProjectId, getSchemeIds, getSchemes, hasPermission, setProjectId, setSchemeIds
 
Methods inherited from class com.atlassian.jira.scheme.AbstractSchemeAwareAction
doNameValidation, getScheme, getSchemeId, setSchemeId
 
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
 

Constructor Detail

SelectProjectWorkflowSchemeStep2

public SelectProjectWorkflowSchemeStep2(SearchProvider searchProvider,
                                        org.ofbiz.core.entity.DelegatorInterface delegator,
                                        IssueManager issueManager,
                                        TaskManager taskManager,
                                        JiraAuthenticationContext authenticationContext,
                                        OutlookDateManager outlookDateManager,
                                        WorkflowManager workflowManager,
                                        ConstantsManager constantsManager,
                                        WorkflowSchemeManager workflowSchemeManager)
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class AbstractSelectProjectScheme
Throws:
java.lang.Exception

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class AbstractSelectProjectScheme
Throws:
java.lang.Exception

getFailedIssueIds

public java.util.Map getFailedIssueIds()

getMigrationHelper

public EnterpriseWorkflowMigrationHelper getMigrationHelper()

getNumAffectedIssues

public long getNumAffectedIssues(org.ofbiz.core.entity.GenericValue issueType)
                          throws SearchException
Throws:
SearchException

getTotalAffectedIssues

public long getTotalAffectedIssues(org.ofbiz.core.entity.GenericValue issueType)
                            throws SearchException
Throws:
SearchException

getTargetWorkflow

public JiraWorkflow getTargetWorkflow(org.ofbiz.core.entity.GenericValue issueType)
                               throws org.ofbiz.core.entity.GenericEntityException,
                                      WorkflowException
Throws:
org.ofbiz.core.entity.GenericEntityException
WorkflowException

getExistingWorkflow

public JiraWorkflow getExistingWorkflow(org.ofbiz.core.entity.GenericValue issueType)
                                 throws org.ofbiz.core.entity.GenericEntityException,
                                        WorkflowException
Throws:
org.ofbiz.core.entity.GenericEntityException
WorkflowException

getTargetStatuses

public java.util.Collection getTargetStatuses(org.ofbiz.core.entity.GenericValue issueType)
                                       throws WorkflowException,
                                              org.ofbiz.core.entity.GenericEntityException
Throws:
WorkflowException
org.ofbiz.core.entity.GenericEntityException

getSelectListName

public java.lang.String getSelectListName(org.ofbiz.core.entity.GenericValue issueType,
                                          org.ofbiz.core.entity.GenericValue status)

isHaveIssuesToMigrate

public boolean isHaveIssuesToMigrate()
                              throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getStatusesNeedingMigration

public java.util.Collection getStatusesNeedingMigration(org.ofbiz.core.entity.GenericValue issueType)

getAbortedMigrationMessageKey

public static java.lang.String getAbortedMigrationMessageKey()

getFailureMigrationMessageKey

public static java.lang.String getFailureMigrationMessageKey()


Copyright © 2002-2010 Atlassian. All Rights Reserved.