com.atlassian.jira.workflow
Class ExtendedWorkflowManager
java.lang.Object
com.atlassian.jira.workflow.SimpleWorkflowManager
com.atlassian.jira.workflow.OSWorkflowManager
com.atlassian.jira.workflow.ExtendedWorkflowManager
- All Implemented Interfaces:
- com.atlassian.jira.workflow.WorkflowManager
public class ExtendedWorkflowManager
- extends com.atlassian.jira.workflow.OSWorkflowManager
FQCN : com.atlassian.jira.workflow.ExtendedWorkflowManager
- Since:
- 3.10.1.30
Description : Extends OSWorkflowManager in order to provide a validateIssue() method called by ExtendedIssueManager
- Author:
- Kaamelot
Constructor Summary |
ExtendedWorkflowManager(com.opensymphony.workflow.config.Configuration configuration,
com.atlassian.jira.workflow.DraftWorkflowStore draftWorkflowStore)
|
ExtendedWorkflowManager(com.atlassian.jira.workflow.DraftWorkflowStore draftWorkflowStore)
|
Method Summary |
com.atlassian.jira.security.JiraAuthenticationContext |
getAuthenticationContext()
|
com.opensymphony.workflow.loader.ActionDescriptor |
getEditActionDescriptor(com.atlassian.jira.issue.Issue _issue)
|
protected com.atlassian.jira.workflow.JiraWorkflow |
getJiraWorkflow(com.atlassian.jira.issue.Issue _issue)
|
static java.lang.Long |
getOperationId(com.opensymphony.workflow.loader.ActionDescriptor _actionDescriptor)
|
boolean |
isDeletable(com.atlassian.jira.issue.Issue _issue)
isDeletable |
static boolean |
isEditOperation(com.opensymphony.workflow.loader.ActionDescriptor _actionDescriptor)
|
void |
validateIssue(java.lang.String remoteUserName,
java.util.Map fields)
Performs an Issue Validation based on Workflow validators defined in "Edit Issue" action |
Methods inherited from class com.atlassian.jira.workflow.OSWorkflowManager |
copyAndDeleteDraftWorkflows, copyWorkflow, createDraftWorkflow, createWorkflow, createWorkflow, deleteDraftWorkflow, deleteWorkflow, getActiveWorkflows, getDraftWorkflow, getWorkflow, getWorkflow, getWorkflow, getWorkflow, getWorkflowClone, getWorkflowFromScheme, getWorkflowName, getWorkflows, getWorkflowSchemeManager, getWorkflowsFromScheme, isActive, isSystemWorkflow, migrateIssueToWorkflow, overwriteActiveWorkflow, saveWorkflowWithoutAudit, updateIssueStatusAndUpdatedDate, updateWorkflow, updateWorkflowNameAndDescription, workflowExists |
Methods inherited from class com.atlassian.jira.workflow.SimpleWorkflowManager |
createIssue, doWorkflowAction, getActionDescriptor, getConfiguration, getDefaultWorkflow, getPostFunctionsForWorkflow, getRemoteUser, getStepId, getStore, isEditable, makeWorkflow, migrateIssueToWorkflow, removeWorkflowEntries, resetConfiguration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
authenticationContext
protected com.atlassian.jira.security.JiraAuthenticationContext authenticationContext
ExtendedWorkflowManager
public ExtendedWorkflowManager(com.atlassian.jira.workflow.DraftWorkflowStore draftWorkflowStore)
ExtendedWorkflowManager
public ExtendedWorkflowManager(com.opensymphony.workflow.config.Configuration configuration,
com.atlassian.jira.workflow.DraftWorkflowStore draftWorkflowStore)
getJiraWorkflow
protected com.atlassian.jira.workflow.JiraWorkflow getJiraWorkflow(com.atlassian.jira.issue.Issue _issue)
throws java.lang.IllegalArgumentException,
com.atlassian.jira.workflow.WorkflowException
- Parameters:
_issue
- Issue about to be Created or Edited
- Returns:
- JIRA Workflow to use for the Issue
- Throws:
java.lang.IllegalArgumentException
WorkflowException
validateIssue
public void validateIssue(java.lang.String remoteUserName,
java.util.Map fields)
throws com.atlassian.jira.workflow.WorkflowException
- Performs an Issue Validation based on Workflow validators defined in "Edit Issue" action
- Parameters:
remoteUserName
- fields
-
- Throws:
WorkflowException
getEditActionDescriptor
public com.opensymphony.workflow.loader.ActionDescriptor getEditActionDescriptor(com.atlassian.jira.issue.Issue _issue)
throws com.atlassian.jira.workflow.WorkflowException
- Throws:
com.atlassian.jira.workflow.WorkflowException
isEditOperation
public static boolean isEditOperation(com.opensymphony.workflow.loader.ActionDescriptor _actionDescriptor)
getOperationId
public static java.lang.Long getOperationId(com.opensymphony.workflow.loader.ActionDescriptor _actionDescriptor)
isDeletable
public boolean isDeletable(com.atlassian.jira.issue.Issue _issue)
- isDeletable
- Parameters:
Issue
-
- Returns:
- boolean
getAuthenticationContext
public com.atlassian.jira.security.JiraAuthenticationContext getAuthenticationContext()
Copyright © 2007-2008 Kaamelot Plugins. All Rights Reserved.