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

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.scheme.AbstractSchemeAwareAction
                  extended bycom.atlassian.jira.scheme.AbstractSelectProjectScheme
                      extended bycom.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowScheme
                          extended bycom.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, ProjectAware, SchemeAware, Serializable

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)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
 JiraWorkflow getExistingWorkflow(org.ofbiz.core.entity.GenericValue issueType)
           
 WorkflowMigrationManager getMigrationManager()
           
 long getNumAffectedIssues(org.ofbiz.core.entity.GenericValue issueType)
           
 String getSelectListName(org.ofbiz.core.entity.GenericValue issueType, org.ofbiz.core.entity.GenericValue status)
           
 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
getRedirectURL, getSchemeManager
 
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, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, 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, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, 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)
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

getMigrationManager

public WorkflowMigrationManager getMigrationManager()

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


Copyright © 2002-2006 Atlassian. All Rights Reserved.