|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.workflow.WorkflowTransitionUtilImpl
public class WorkflowTransitionUtilImpl
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()
|
Project |
getProject()
|
Project |
getProjectObject()
Legacy synonym for WorkflowProgressAware.getProject() |
ApplicationUser |
getRemoteApplicationUser()
|
com.atlassian.crowd.embedded.api.User |
getRemoteUser()
Deprecated. Use getRemoteApplicationUser() instead. Since v6.2.3. |
String |
getUserKey()
Gets key of user who the workflow transition will be executed as |
String |
getUsername()
Gets username of user who the workflow transition will be executed as |
boolean |
hasScreen()
Checks if there's a screen associated with the workflow action for this transition. |
ErrorCollection |
progress()
|
void |
setAction(int action)
|
void |
setIssue(MutableIssue issue)
|
void |
setParams(Map params)
|
void |
setUserkey(String userkey)
Sets key of user who the workflow transition will be executed as |
void |
setUsername(String username)
Sets username of user who the workflow transition will be executed as |
ErrorCollection |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowTransitionUtilImpl(JiraAuthenticationContext authenticationContext, WorkflowManager workflowManager, PermissionManager permissionManager, FieldScreenRendererFactory fieldScreenRendererFactory, CommentService commentService)
Method Detail |
---|
public MutableIssue getIssue()
getIssue
in interface WorkflowProgressAware
public void setIssue(MutableIssue issue)
setIssue
in interface WorkflowTransitionUtil
public Project getProject()
getProject
in interface WorkflowProgressAware
public Project getProjectObject()
WorkflowProgressAware
WorkflowProgressAware.getProject()
getProjectObject
in interface WorkflowProgressAware
public com.atlassian.crowd.embedded.api.User getRemoteUser()
getRemoteApplicationUser()
instead. Since v6.2.3.
getRemoteUser
in interface WorkflowProgressAware
public ApplicationUser getRemoteApplicationUser()
getRemoteApplicationUser
in interface WorkflowProgressAware
public int getAction()
getAction
in interface WorkflowProgressAware
public void setAction(int action)
setAction
in interface WorkflowProgressAware
setAction
in interface WorkflowTransitionUtil
public com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor()
getActionDescriptor
in interface WorkflowTransitionUtil
public void addErrorMessage(String error)
addErrorMessage
in interface WorkflowProgressAware
public void addError(String name, String error)
addError
in interface WorkflowProgressAware
public Map getAdditionalInputs()
getAdditionalInputs
in interface WorkflowProgressAware
public void addAdditionalInput(Object key, Object value)
WorkflowTransitionUtil
addAdditionalInput
in interface WorkflowTransitionUtil
public String getUsername()
WorkflowTransitionUtil
getUsername
in interface WorkflowTransitionUtil
public void setUsername(String username)
WorkflowTransitionUtil
setUsername
in interface WorkflowTransitionUtil
username
- desired usernamepublic String getUserKey()
WorkflowTransitionUtil
getUserKey
in interface WorkflowTransitionUtil
public void setUserkey(String userkey)
WorkflowTransitionUtil
setUserkey
in interface WorkflowTransitionUtil
userkey
- desired user's keypublic ErrorCollection validate()
validate
in interface WorkflowTransitionUtil
public FieldScreenRenderer getFieldScreenRenderer()
getFieldScreenRenderer
in interface WorkflowTransitionUtil
public ErrorCollection progress()
progress
in interface WorkflowTransitionUtil
public void setParams(Map params)
setParams
in interface WorkflowTransitionUtil
public boolean hasScreen()
WorkflowTransitionUtil
hasScreen
in interface WorkflowTransitionUtil
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |