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, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class SelectProjectWorkflowSchemeStep2
extends SelectProjectWorkflowScheme

See Also:
Serialized Form

Field Summary
 
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
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
 String doDefault()
           
protected  String doExecute()
           
static String getAbortedMigrationMessageKey()
           
 JiraWorkflow getExistingWorkflow(org.ofbiz.core.entity.GenericValue issueType)
           
 Map getFailedIssueIds()
           
static String getFailureMigrationMessageKey()
           
 EnterpriseWorkflowMigrationHelper getMigrationHelper()
           
 long getNumAffectedIssues(org.ofbiz.core.entity.GenericValue issueType)
           
 String getSelectListName(org.ofbiz.core.entity.GenericValue issueType, org.ofbiz.core.entity.GenericValue status)
           
 Collection getStatusesNeedingMigration(org.ofbiz.core.entity.GenericValue issueType)
           
 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, 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
 

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 String doDefault()
                 throws Exception
Overrides:
doDefault in class AbstractSelectProjectScheme
Throws:
Exception

doExecute

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

getFailedIssueIds

public 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 Collection getTargetStatuses(org.ofbiz.core.entity.GenericValue issueType)
                             throws WorkflowException,
                                    org.ofbiz.core.entity.GenericEntityException
Throws:
WorkflowException
org.ofbiz.core.entity.GenericEntityException

getSelectListName

public 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 Collection getStatusesNeedingMigration(org.ofbiz.core.entity.GenericValue issueType)

getAbortedMigrationMessageKey

public static String getAbortedMigrationMessageKey()

getFailureMigrationMessageKey

public static String getFailureMigrationMessageKey()


Copyright © 2002-2009 Atlassian. All Rights Reserved.