com.atlassian.jira.web.action.issue
Class MoveIssue
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
com.atlassian.jira.web.action.issue.AbstractViewIssue
com.atlassian.jira.web.action.issue.AbstractCommentableIssue
com.atlassian.jira.web.action.issue.AbstractCommentableAssignableIssue
com.atlassian.jira.web.action.issue.MoveIssue
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, Assignable, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
- Direct Known Subclasses:
- MoveIssueUpdateFields, MoveIssueUpdateWorkflow, MoveSubTask
public class MoveIssue
- extends AbstractCommentableAssignableIssue
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
getDefaultSecurityLevel, getId, getIssue, getIssuePath, getKey, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSecurityLevels, getSecurityLevels, getViewIssueKey, getViewUrl, isEditable, isEditable, isIssueExists, redirectToView, resetIssue, setId, setIssue, setKey, setViewIssueKey |
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport |
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, 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 webwork.action.CommandDriven |
setCommand |
SUBTASK_STATUS_PREFIX
public static final java.lang.String SUBTASK_STATUS_PREFIX
- See Also:
- Constant Field Values
constantsManager
protected final ConstantsManager constantsManager
MoveIssue
public MoveIssue(IssueLinkManager issueLinkManager,
SubTaskManager subTaskManager,
ConstantsManager constantsManager,
WorkflowManager workflowManager,
FieldLayoutManager fieldLayoutManager)
doExecute
protected java.lang.String doExecute()
throws java.lang.Exception
- Overrides:
doExecute
in class webwork.action.ActionSupport
- Throws:
java.lang.Exception
doDefault
public java.lang.String doDefault()
throws java.lang.Exception
- Overrides:
doDefault
in class AbstractCommentableAssignableIssue
- Throws:
java.lang.Exception
doValidation
protected void doValidation()
- Overrides:
doValidation
in class AbstractCommentableAssignableIssue
validateAttachmentMove
protected void validateAttachmentMove()
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
validateCreateIssue
protected void validateCreateIssue()
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getMethod
public java.lang.String getMethod()
setMethod
public void setMethod(java.lang.String method)
getTargetPid
public java.lang.Long getTargetPid()
getTargetStatusId
public java.lang.String getTargetStatusId()
getTargetProject
public org.ofbiz.core.entity.GenericValue getTargetProject()
getTargetWorkflow
public JiraWorkflow getTargetWorkflow()
throws WorkflowException
- Throws:
WorkflowException
getCurrentWorkflow
public JiraWorkflow getCurrentWorkflow()
throws WorkflowException,
org.ofbiz.core.entity.GenericEntityException
- Throws:
WorkflowException
org.ofbiz.core.entity.GenericEntityException
getWorkflowForType
public JiraWorkflow getWorkflowForType(java.lang.Long projectId,
java.lang.String issueTypeId)
throws WorkflowException
- Throws:
WorkflowException
getCurrentStatusGV
public org.ofbiz.core.entity.GenericValue getCurrentStatusGV()
getTargetIssueType
public java.lang.String getTargetIssueType()
getCurrentIssueType
public java.lang.String getCurrentIssueType()
assigneeChanged
protected boolean assigneeChanged()
- Overrides:
assigneeChanged
in class AbstractCommentableAssignableIssue
getAllowedProjects
public java.util.Collection getAllowedProjects()
throws java.lang.Exception
- Throws:
java.lang.Exception
getStandardIssueTypes
public java.util.Collection getStandardIssueTypes()
isSubTask
public boolean isSubTask()
- Description copied from class:
AbstractViewIssue
- Determines whether the issue is a sub task - i.e. if it has any incoming sub-task issue links
- Overrides:
isSubTask
in class AbstractViewIssue
- Returns:
isOldAssigneeAssignable
public boolean isOldAssigneeAssignable()
isTargetAssigneeAssignable
public boolean isTargetAssigneeAssignable()
isHasAssignPermission
public boolean isHasAssignPermission()
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getOldSecurity
public java.lang.Long getOldSecurity()
throws java.lang.Exception
- Throws:
java.lang.Exception
getAssignIn
public org.ofbiz.core.entity.GenericValue getAssignIn()
- Specified by:
getAssignIn
in interface Assignable
- Overrides:
getAssignIn
in class AbstractCommentableAssignableIssue
getTargetWorkflowStatuses
public java.util.Collection getTargetWorkflowStatuses(java.lang.String issueTypeId)
throws WorkflowException
- Throws:
WorkflowException
migrateIssueToWorkflow
protected void migrateIssueToWorkflow(org.ofbiz.core.entity.GenericValue issue,
java.lang.String targetType,
JiraWorkflow targetWorkflow,
org.ofbiz.core.entity.GenericValue targetStatus)
throws java.lang.Exception,
org.ofbiz.core.entity.GenericEntityException
- Throws:
java.lang.Exception
org.ofbiz.core.entity.GenericEntityException
getTargetVisibleFieldLayoutItems
public java.util.List getTargetVisibleFieldLayoutItems()
isWorkflowMatch
public boolean isWorkflowMatch(java.lang.String currentIssueTypeId,
java.lang.String targetIssueTypeId)
throws WorkflowException,
org.ofbiz.core.entity.GenericEntityException
- Throws:
WorkflowException
org.ofbiz.core.entity.GenericEntityException
isHasSubTasks
public boolean isHasSubTasks()
getSubTasks
public java.util.Collection getSubTasks()
getSubTaskTypesUsed
public java.util.Collection getSubTaskTypesUsed()
getPrefixTaskStatusId
public java.lang.String getPrefixTaskStatusId(java.lang.String taskTypeId,
java.lang.String taskStatusId)
getSubTaskTargetStatus
public java.lang.String getSubTaskTargetStatus(java.lang.String taskTypeId,
java.lang.String taskStatusId)
isStatusChangeRequired
public boolean isStatusChangeRequired()
isTaskStatusChangeRequired
public boolean isTaskStatusChangeRequired()
throws WorkflowException
- Throws:
WorkflowException
isIssueStatusValid
public boolean isIssueStatusValid()
throws WorkflowException
- Throws:
WorkflowException
isTaskStatusValid
public boolean isTaskStatusValid(java.lang.String typeId,
java.lang.String statusId)
throws WorkflowException
- Throws:
WorkflowException
getTaskInvalidStatuses
public java.util.Collection getTaskInvalidStatuses(java.lang.String typeId)
throws WorkflowException
- Throws:
WorkflowException
getTasksWithStatus
public java.util.Collection getTasksWithStatus(java.lang.String invalidStatusId)
throws WorkflowException
- Throws:
WorkflowException
getFieldLayoutManager
protected FieldLayoutManager getFieldLayoutManager()
getConstantsManager
public ConstantsManager getConstantsManager()
- Overrides:
getConstantsManager
in class JiraWebActionSupport
getWorkflowManager
protected WorkflowManager getWorkflowManager()
getMoveIssueBean
public MoveIssueBean getMoveIssueBean()
setBeanTargetPid
public void setBeanTargetPid(java.lang.Long targetPid)
getBeanTargetPid
public java.lang.Long getBeanTargetPid()
setBeanTargetType
public void setBeanTargetType(java.lang.String targetIssueType)
getBeanTargetType
public java.lang.String getBeanTargetType()
setBeanTargetStatusId
public void setBeanTargetStatusId(java.lang.String targetStatusId)
getBeanTargetStatusId
public java.lang.String getBeanTargetStatusId()
isRequired
public boolean isRequired(java.lang.String fieldName)
throws FieldLayoutStorageException
- Throws:
FieldLayoutStorageException
getStringSet
public boolean getStringSet(org.ofbiz.core.entity.GenericValue gv,
java.lang.String value)
Copyright © 2002-2006 Atlassian. All Rights Reserved.