com.atlassian.jira.workflow
Class WorkflowTransitionUtilImpl

java.lang.Object
  extended by com.atlassian.jira.workflow.WorkflowTransitionUtilImpl
All Implemented Interfaces:
WorkflowProgressAware, WorkflowTransitionUtil

public class WorkflowTransitionUtilImpl
extends Object
implements WorkflowProgressAware, WorkflowTransitionUtil

Created by IntelliJ IDEA. User: amazkovoi Date: 7/09/2004 Time: 12:30:34


Field Summary
 
Fields inherited from interface com.atlassian.jira.workflow.WorkflowTransitionUtil
FIELD_COMMENT, FIELD_COMMENT_GROUP_LEVEL, FIELD_COMMENT_LEVEL, FIELD_COMMENT_ROLE_LEVEL, VIEW_COMMENTASSIGN, VIEW_COMMENTASSIGN_ID, VIEW_RESOLVE, VIEW_RESOLVE_ID, VIEW_SCREEN
 
Constructor Summary
WorkflowTransitionUtilImpl(JiraAuthenticationContext authenticationContext, WorkflowManager workflowManager, PermissionManager permissionManager, FieldScreenRendererFactory fieldScreenRendererFactory, CommentService commentService)
           
 
Method Summary
 void addAdditionalInput(Object key, Object value)
          Pass a parameter into the action's "transientVars" parameter.
 void addError(String name, String error)
           
 void addErrorMessage(String error)
           
 int getAction()
           
 com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor()
           
 Map getAdditionalInputs()
           
 FieldScreenRenderer getFieldScreenRenderer()
           
 MutableIssue getIssue()
           
 org.ofbiz.core.entity.GenericValue getProject()
           
 User getRemoteUser()
           
 String getUsername()
           
 ErrorCollection progress()
           
 void setAction(int action)
           
 void setIssue(MutableIssue issue)
           
 void setParams(Map params)
           
 void setUsername(String username)
           
 ErrorCollection validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowTransitionUtilImpl

public WorkflowTransitionUtilImpl(JiraAuthenticationContext authenticationContext,
                                  WorkflowManager workflowManager,
                                  PermissionManager permissionManager,
                                  FieldScreenRendererFactory fieldScreenRendererFactory,
                                  CommentService commentService)
Method Detail

getIssue

public MutableIssue getIssue()
Specified by:
getIssue in interface WorkflowProgressAware

setIssue

public void setIssue(MutableIssue issue)
Specified by:
setIssue in interface WorkflowTransitionUtil

getProject

public org.ofbiz.core.entity.GenericValue getProject()
Specified by:
getProject in interface WorkflowProgressAware

getRemoteUser

public User getRemoteUser()
Specified by:
getRemoteUser in interface WorkflowProgressAware

getAction

public int getAction()
Specified by:
getAction in interface WorkflowProgressAware

setAction

public void setAction(int action)
Specified by:
setAction in interface WorkflowProgressAware
Specified by:
setAction in interface WorkflowTransitionUtil

getActionDescriptor

public com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor()
Specified by:
getActionDescriptor in interface WorkflowTransitionUtil

addErrorMessage

public void addErrorMessage(String error)
Specified by:
addErrorMessage in interface WorkflowProgressAware

addError

public void addError(String name,
                     String error)
Specified by:
addError in interface WorkflowProgressAware

getAdditionalInputs

public Map getAdditionalInputs()
Specified by:
getAdditionalInputs in interface WorkflowProgressAware

addAdditionalInput

public void addAdditionalInput(Object key,
                               Object value)
Description copied from interface: WorkflowTransitionUtil
Pass a parameter into the action's "transientVars" parameter.

Specified by:
addAdditionalInput in interface WorkflowTransitionUtil

getUsername

public String getUsername()
Specified by:
getUsername in interface WorkflowTransitionUtil

setUsername

public void setUsername(String username)
Specified by:
setUsername in interface WorkflowTransitionUtil

validate

public ErrorCollection validate()
Specified by:
validate in interface WorkflowTransitionUtil

getFieldScreenRenderer

public FieldScreenRenderer getFieldScreenRenderer()
Specified by:
getFieldScreenRenderer in interface WorkflowTransitionUtil

progress

public ErrorCollection progress()
Specified by:
progress in interface WorkflowTransitionUtil

setParams

public void setParams(Map params)
Specified by:
setParams in interface WorkflowTransitionUtil


Copyright © 2002-2009 Atlassian. All Rights Reserved.