com.atlassian.jira.web.action.admin.workflow
Class AbstractEditWorkflowTransitionDescriptorParams

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.admin.workflow.AbstractWorkflowTransitionAction
                  extended bycom.atlassian.jira.web.action.admin.workflow.AbstractEditWorkflowTransitionDescriptorParams
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, java.io.Serializable
Direct Known Subclasses:
EditWorkflowTransitionConditionParams, EditWorkflowTransitionPostFunctionParams, EditWorkflowTransitionValidatorParams

public abstract class AbstractEditWorkflowTransitionDescriptorParams
extends AbstractWorkflowTransitionAction

Copyright (c) 2002-2004 All rights reserved.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request
 
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
AbstractEditWorkflowTransitionDescriptorParams(JiraWorkflow workflow, com.opensymphony.workflow.loader.ActionDescriptor transition, com.atlassian.plugin.PluginManager pluginManager)
           
AbstractEditWorkflowTransitionDescriptorParams(JiraWorkflow workflow, com.opensymphony.workflow.loader.StepDescriptor step, com.opensymphony.workflow.loader.ActionDescriptor transition, com.atlassian.plugin.PluginManager pluginManager)
           
 
Method Summary
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
protected  void doValidation()
           
protected abstract  void editWorkflowDescriptor(com.opensymphony.workflow.loader.AbstractDescriptor descriptor, java.util.Map params)
           
 int getCount()
           
protected  AbstractWorkflowModuleDescriptor getDescriptor()
           
 java.lang.String getDescriptorHtml()
           
protected  java.util.Map getDescriptorParams()
           
protected abstract  java.lang.String getPluginType()
           
abstract  java.lang.String getWorkflowDescriptorName()
           
protected  AbstractWorkflowModuleDescriptor getWorkflowModuleDescriptor(java.lang.String className, java.lang.String pluginType)
          Find the module descriptor given a workflow descriptor class name
 void setCount(int count)
           
protected abstract  void setupWorkflowDescriptor()
           
protected  void setupWorkflowDescriptorParams()
           
protected  void setupWorkflowModuleDescriptor()
           
protected  void setWorkflowDescriptor(com.opensymphony.workflow.loader.AbstractDescriptor workflowDescriptor)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.workflow.AbstractWorkflowTransitionAction
getPluginManager, getStep, getTransition, getWorkflow
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, getConstantsManager, getCustomFieldHtml, getCustomFieldXML, getDefaultAssignee, getDefaultResourceBundle, getField, getLocale, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getText, getText, getText, getText, getText, getUserFullName, getUserPreferences, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, 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
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Constructor Detail

AbstractEditWorkflowTransitionDescriptorParams

public AbstractEditWorkflowTransitionDescriptorParams(JiraWorkflow workflow,
                                                      com.opensymphony.workflow.loader.StepDescriptor step,
                                                      com.opensymphony.workflow.loader.ActionDescriptor transition,
                                                      com.atlassian.plugin.PluginManager pluginManager)

AbstractEditWorkflowTransitionDescriptorParams

public AbstractEditWorkflowTransitionDescriptorParams(JiraWorkflow workflow,
                                                      com.opensymphony.workflow.loader.ActionDescriptor transition,
                                                      com.atlassian.plugin.PluginManager pluginManager)
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Throws:
java.lang.Exception

doValidation

protected void doValidation()

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Throws:
java.lang.Exception

setupWorkflowModuleDescriptor

protected void setupWorkflowModuleDescriptor()

getWorkflowModuleDescriptor

protected AbstractWorkflowModuleDescriptor getWorkflowModuleDescriptor(java.lang.String className,
                                                                       java.lang.String pluginType)
                                                                throws com.atlassian.plugin.PluginParseException
Find the module descriptor given a workflow descriptor class name

Throws:
com.atlassian.plugin.PluginParseException

setupWorkflowDescriptorParams

protected void setupWorkflowDescriptorParams()

getDescriptorHtml

public java.lang.String getDescriptorHtml()

getCount

public int getCount()

setCount

public void setCount(int count)

setWorkflowDescriptor

protected void setWorkflowDescriptor(com.opensymphony.workflow.loader.AbstractDescriptor workflowDescriptor)

getDescriptorParams

protected java.util.Map getDescriptorParams()

getDescriptor

protected AbstractWorkflowModuleDescriptor getDescriptor()

setupWorkflowDescriptor

protected abstract void setupWorkflowDescriptor()

getWorkflowDescriptorName

public abstract java.lang.String getWorkflowDescriptorName()

getPluginType

protected abstract java.lang.String getPluginType()

editWorkflowDescriptor

protected abstract void editWorkflowDescriptor(com.opensymphony.workflow.loader.AbstractDescriptor descriptor,
                                               java.util.Map params)


Copyright © 2002-2005 Atlassian. All Rights Reserved.