com.atlassian.jira.web.action.issue
Class MoveIssueConfirm

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.ProjectActionSupport
                  extended bycom.atlassian.jira.web.action.IssueActionSupport
                      extended bycom.atlassian.jira.web.action.issue.AbstractIssueSelectAction
                          extended bycom.atlassian.jira.web.action.issue.AbstractViewIssue
                              extended bycom.atlassian.jira.web.action.issue.AbstractCommentableIssue
                                  extended bycom.atlassian.jira.web.action.issue.AbstractCommentableAssignableIssue
                                      extended bycom.atlassian.jira.web.action.issue.MoveIssue
                                          extended bycom.atlassian.jira.web.action.issue.MoveIssueUpdateFields
                                              extended bycom.atlassian.jira.web.action.issue.MoveIssueConfirm
All Implemented Interfaces:
webwork.action.Action, Assignable, webwork.action.CommandDriven, CustomFieldValuesAware, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, java.io.Serializable

public class MoveIssueConfirm
extends MoveIssueUpdateFields

See Also:
Serialized Form

Field Summary
(package private)  boolean confirm
           
 
Fields inherited from class com.atlassian.jira.web.action.issue.MoveIssue
constantsManager, SUBTASK_STATUS_PREFIX
 
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
id
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager, savedFilters
 
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
MoveIssueConfirm(IssueLinkManager issueLinkManager, SubTaskManager subTaskManager, AttachmentManager attachmentManager, ConstantsManager constantsManager, WorkflowManager workflowManager, FieldLayoutManager fieldLayoutmanager, DateConverter datePickerConverter)
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String doExecute()
          Actually does the moving of the issue from one Project/Issue Type to another
protected  void doValidation()
           
 java.lang.String getPrefixCustomFieldId(java.lang.String key)
           
 org.ofbiz.core.entity.GenericValue getTargetStatusGV()
           
 boolean isAssigneeMatch()
           
 boolean isComponentsMatch()
           
 boolean isConfirm()
           
 boolean isCustomFieldsMatch(CustomField customField)
           
 boolean isFixVersionsMatch()
           
 boolean isIssueTypeMatch()
           
 boolean isProjectMatch()
           
 boolean isStatusMatch()
           
 boolean isVersionsMatch()
           
 void setConfirm(boolean confirm)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.MoveIssueUpdateFields
assigneeChanged, getAssignableUsers, getAssigneeUser, getComponents, getCurrentCustomFieldObjects, getCustomFieldHtml, getCustomFieldValuesHolder, getDefaultTargetSecurity, getDescription, getDuedate, getEnvironment, getFixVersions, getInvalidCurrentCustomFields, getInvalidCustomFields, getIssueTypeGV, getNewAffectsVersions, getNewComponents, getNewCustomFieldValue, getNewCustomFieldView, getNewFixVersions, getOldAffectsVersions, getOldAssignee, getOldComponents, getOldCustomFieldValue, getOldCustomFieldView, getOldFixVersions, getSecurity, getTargetCustomFieldObjects, getTargetCustomFields, getTargetIssueTypeGV, getTargetVisibleCustomFields, getVersions, setAssignee, setComponents, setDescription, setDuedate, setEnvironment, setFixVersions, setSecurity, setVersions, validateAssignee
 
Methods inherited from class com.atlassian.jira.web.action.issue.MoveIssue
getAllowedProjects, getAssignIn, getBeanTargetPid, getBeanTargetStatusId, getBeanTargetType, getConstantsManager, getCurrentIssueType, getCurrentStatusGV, getCurrentWorkflow, getFieldLayoutManager, getMethod, getMoveIssueBean, getOldSecurity, getPrefixTaskStatusId, getStandardIssueTypes, getStringSet, getSubTasks, getSubTaskTargetStatus, getSubTaskTypesUsed, getTargetIssueType, getTargetPid, getTargetProject, getTargetStatusId, getTargetVisibleFieldLayoutItems, getTargetWorkflow, getTargetWorkflowStatuses, getTaskInvalidStatuses, getTasksWithStatus, getWorkflowForType, getWorkflowManager, isHasAssignPermission, isHasSubTasks, isIssueStatusValid, isOldAssigneeAssignable, isRequired, isStatusChangeRequired, isSubTask, isTargetAssigneeAssignable, isTaskStatusChangeRequired, isTaskStatusValid, isWorkflowMatch, migrateIssueToWorkflow, setBeanTargetPid, setBeanTargetStatusId, setBeanTargetType, setMethod, validateAttachmentMove, validateCreateIssue
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractCommentableAssignableIssue
getAssignee, hasAssigneePermission
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractCommentableIssue
getComment, getCommentLevel, getCommentLevels, setComment, setCommentLevel
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractViewIssue
getAttachments, getIssueLinkManager, getLinkCollection, getPossibleComponents, getPossibleVersions, getPossibleVersionsReleasedFirst, getSubTaskManager, isScreenshotAttachable, isSubTaskCreatable
 
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.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters, getSelectedProject, isEnterprise, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, 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 com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

confirm

boolean confirm
Constructor Detail

MoveIssueConfirm

public MoveIssueConfirm(IssueLinkManager issueLinkManager,
                        SubTaskManager subTaskManager,
                        AttachmentManager attachmentManager,
                        ConstantsManager constantsManager,
                        WorkflowManager workflowManager,
                        FieldLayoutManager fieldLayoutmanager,
                        DateConverter datePickerConverter)
Method Detail

doDefault

public java.lang.String doDefault()
Overrides:
doDefault in class MoveIssueUpdateFields

doValidation

protected void doValidation()
Overrides:
doValidation in class MoveIssueUpdateFields

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Actually does the moving of the issue from one Project/Issue Type to another

Overrides:
doExecute in class MoveIssueUpdateFields
Returns:
Throws:
java.lang.Exception

getPrefixCustomFieldId

public java.lang.String getPrefixCustomFieldId(java.lang.String key)
                                        throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

isConfirm

public boolean isConfirm()

setConfirm

public void setConfirm(boolean confirm)

getTargetStatusGV

public org.ofbiz.core.entity.GenericValue getTargetStatusGV()

isIssueTypeMatch

public boolean isIssueTypeMatch()
                         throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

isProjectMatch

public boolean isProjectMatch()
                       throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

isComponentsMatch

public boolean isComponentsMatch()
                          throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

isVersionsMatch

public boolean isVersionsMatch()
                        throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

isFixVersionsMatch

public boolean isFixVersionsMatch()
                           throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

isAssigneeMatch

public boolean isAssigneeMatch()

isCustomFieldsMatch

public boolean isCustomFieldsMatch(CustomField customField)
                            throws org.ofbiz.core.entity.GenericEntityException,
                                   CustomFieldValidationException
Throws:
org.ofbiz.core.entity.GenericEntityException
CustomFieldValidationException

isStatusMatch

public boolean isStatusMatch()


Copyright © 2002-2005 Atlassian. All Rights Reserved.