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

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.CreateIssue
                              extended bycom.atlassian.jira.web.action.issue.CreateIssueDetails
                                  extended bycom.atlassian.jira.web.action.issue.CloneIssueDetails
All Implemented Interfaces:
webwork.action.Action, Assignable, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, OperationContext, Serializable

public class CloneIssueDetails
extends CreateIssueDetails

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.atlassian.jira.web.action.issue.CreateIssue
CreateIssue.ButtonHolder
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.issue.CreateIssue
customFieldValuesHolder, issueCreationHelperBean, issueObject
 
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
id
 
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport
attachmentManager
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, savedFilters, selectedProject
 
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
CloneIssueDetails(ApplicationProperties applicationProperties, PermissionManager permissionManager, IssueLinkManager issueLinkManager, IssueLinkTypeManager issueLinkTypeManager, SubTaskManager subTaskManager, FieldManager fieldManager, IssueCreationHelperBean issueCreationHelperBean, IssueFactory issueFactory)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
protected  String doPostCreationTasks()
           
protected  void doValidation()
           
 IssueLinkType getCloneIssueLinkType()
           
 String getCloneLinkTypeName()
           
 org.ofbiz.core.entity.GenericValue getCloneParent()
           
 FieldScreenRenderLayoutItem getFieldScreenRenderLayoutItem(String fieldId)
           
 MutableIssue getIssueObject()
          Returns the current Issue.
 Issue getIssueObject(org.ofbiz.core.entity.GenericValue genericValue)
           
 Issue getOriginalIssue()
           
 boolean isCanModifyReporter()
           
 boolean isCloneLinks()
           
 boolean isCloneSubTasks()
           
 boolean isDisplayCloneLinkWarning()
           
 boolean isDisplayCopyLink()
           
 boolean isDisplayCopySubTasks()
           
 void setCloneLinks(boolean cloneLinks)
           
 void setCloneParent(org.ofbiz.core.entity.GenericValue cloneParent)
           
 void setCloneSubTasks(boolean cloneSubTasks)
           
protected  void setFields()
           
 void setIssueDetails(Issue issue)
           
 void setOriginalIssue(Issue originalIssue)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.CreateIssueDetails
checkAttachments, createIssue, doInit, getAuxiliarySubmitButtonValue, getIssue
 
Methods inherited from class com.atlassian.jira.web.action.issue.CreateIssue
getAllowedProjects, getAssignee, getAssignIn, getButtons, getCustomFields, getCustomFieldValuesHolder, getFieldScreenRenderer, getFieldScreenRenderTabs, getIgnoreFieldIds, getIssueOperation, getIssuetype, getIssueTypeGV, getPid, getProject, getSelectedTab, getSubmitButtonName, getTabsWithErrors, isAbleToCreateIssueInSelectedProject, isHasProjectPermission, populateFieldHolderWithDefaults, recordHistoryIssueType, setAssignee, setHistoryIssuetype, setIssuetype, setPid, validateIssueType
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
getDefaultSecurityLevel, getId, getIssueObjectNoSecurityCheck, getIssuePath, getKey, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSecurityLevels, getSecurityLevels, getViewIssueKey, getViewUrl, isEditable, isEditable, isIssueExists, isWorkflowAllowsEdit, 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, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, 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, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Constructor Detail

CloneIssueDetails

public CloneIssueDetails(ApplicationProperties applicationProperties,
                         PermissionManager permissionManager,
                         IssueLinkManager issueLinkManager,
                         IssueLinkTypeManager issueLinkTypeManager,
                         SubTaskManager subTaskManager,
                         FieldManager fieldManager,
                         IssueCreationHelperBean issueCreationHelperBean,
                         IssueFactory issueFactory)
Method Detail

doDefault

public String doDefault()
                 throws Exception
Overrides:
doDefault in class CreateIssue
Throws:
Exception

setIssueDetails

public void setIssueDetails(Issue issue)
                     throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getFieldScreenRenderLayoutItem

public FieldScreenRenderLayoutItem getFieldScreenRenderLayoutItem(String fieldId)

getIssueObject

public Issue getIssueObject(org.ofbiz.core.entity.GenericValue genericValue)

getIssueObject

public MutableIssue getIssueObject()
Description copied from class: AbstractIssueSelectAction
Returns the current Issue.

Overrides:
getIssueObject in class CreateIssue

doValidation

protected void doValidation()
Overrides:
doValidation in class CreateIssueDetails

setFields

protected void setFields()
                  throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

doExecute

protected String doExecute()
Overrides:
doExecute in class CreateIssueDetails

isDisplayCopyLink

public boolean isDisplayCopyLink()

isDisplayCopySubTasks

public boolean isDisplayCopySubTasks()

isCloneLinks

public boolean isCloneLinks()

setCloneLinks

public void setCloneLinks(boolean cloneLinks)

isCloneSubTasks

public boolean isCloneSubTasks()

setCloneSubTasks

public void setCloneSubTasks(boolean cloneSubTasks)

doPostCreationTasks

protected String doPostCreationTasks()
                              throws Exception
Overrides:
doPostCreationTasks in class CreateIssueDetails
Throws:
Exception

getOriginalIssue

public Issue getOriginalIssue()

setOriginalIssue

public void setOriginalIssue(Issue originalIssue)

getCloneParent

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

setCloneParent

public void setCloneParent(org.ofbiz.core.entity.GenericValue cloneParent)

getCloneIssueLinkType

public IssueLinkType getCloneIssueLinkType()

isDisplayCloneLinkWarning

public boolean isDisplayCloneLinkWarning()

isCanModifyReporter

public boolean isCanModifyReporter()

getCloneLinkTypeName

public String getCloneLinkTypeName()


Copyright © 2002-2006 Atlassian. All Rights Reserved.