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

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.IssueActionSupport
                      extended by com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
                          extended by com.atlassian.jira.web.action.issue.CreateIssue
                              extended by com.atlassian.jira.web.action.issue.CreateIssueDetails
                                  extended by com.atlassian.jira.web.action.issue.CloneIssueDetails
All Implemented Interfaces:
OperationContext, ErrorCollection, I18nHelper, Assignable, IssueSummaryAware, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class CloneIssueDetails
extends CreateIssueDetails

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.issue.CreateIssue
CreateIssue.ButtonHolder
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.issue.CreateIssueDetails
validationResult
 
Fields inherited from class com.atlassian.jira.web.action.issue.CreateIssue
fieldValuesHolder, issueCreationHelperBean
 
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
id, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECT
 
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, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CloneIssueDetails(ApplicationProperties applicationProperties, PermissionManager permissionManager, IssueLinkManager issueLinkManager, RemoteIssueLinkManager remoteIssueLinkManager, IssueLinkTypeManager issueLinkTypeManager, SubTaskManager subTaskManager, AttachmentManager attachmentManager, FieldManager fieldManager, IssueCreationHelperBean issueCreationHelperBean, IssueFactory issueFactory, IssueService issueService)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
protected  String doPostCreationTasks()
           
protected  void doValidation()
           
 IssueLinkType getCloneIssueLinkType()
           
 String getCloneLinkTypeName()
           
 org.ofbiz.core.entity.GenericValue getCloneParent()
           
 Map<String,Object> getDisplayParams()
           
 FieldScreenRenderLayoutItem getFieldScreenRenderLayoutItem(String fieldId)
           
 MutableIssue getIssueObject()
          Returns the current Issue.
 Issue getIssueObject(org.ofbiz.core.entity.GenericValue genericValue)
           
 Issue getOriginalIssue()
           
 org.ofbiz.core.entity.GenericValue getProject()
           
 boolean isCanModifyReporter()
           
 boolean isCloneAttachments()
           
 boolean isCloneLinks()
           
 boolean isCloneSubTasks()
           
 boolean isDisplayCloneLinkWarning()
           
 boolean isDisplayCopyAttachments()
           
 boolean isDisplayCopyLink()
           
 boolean isDisplayCopySubTasks()
           
 void setCloneAttachments(boolean cloneAttachments)
           
 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
createIssue, doInit, getAuxiliarySubmitButtonValue, getIssue, transferErrorToMessages
 
Methods inherited from class com.atlassian.jira.web.action.issue.CreateIssue
getAllowedProjects, getAssignee, getAssignIn, getButtons, getCustomFields, getFieldScreenRenderer, getFieldScreenRenderTabs, getFieldValuesHolder, getIgnoreFieldIds, getIssueOperation, getIssuetype, getIssueTypeGV, getIssueTypesForProject, getPid, getRedirectForCreateBypass, getSelectedTab, getSubmitButtonName, getTabsWithErrors, isAbleToCreateIssueInSelectedProject, isHasProjectPermission, populateFieldHolderWithDefaults, recordHistoryIssueType, setAssignee, setHistoryIssuetype, setIssuetype, setPid, validateIssueType
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
addErrorMessage, assertIssueIsValid, cameFromIssue, cameFromParent, getId, getIssueObjectWithoutDatabaseRead, getIssuePath, getKey, getLayoutBean, getParentIssueObject, getSecurityLevel, getSubTaskManager, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTask, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, refreshIssueObject, setId, setIssueObject, setKey, setViewIssueKey
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
addIssueToHistory, clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowsableProjects, getBrowseableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, getCommandName, 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.web.action.issue.IssueSummaryAware
getLoggedInUser
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

CloneIssueDetails

public CloneIssueDetails(ApplicationProperties applicationProperties,
                         PermissionManager permissionManager,
                         IssueLinkManager issueLinkManager,
                         RemoteIssueLinkManager remoteIssueLinkManager,
                         IssueLinkTypeManager issueLinkTypeManager,
                         SubTaskManager subTaskManager,
                         AttachmentManager attachmentManager,
                         FieldManager fieldManager,
                         IssueCreationHelperBean issueCreationHelperBean,
                         IssueFactory issueFactory,
                         IssueService issueService)
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. This method performs the same security checks as AbstractIssueSelectAction.getIssue().

Overrides:
getIssueObject in class CreateIssue
Returns:
The current issue.
See Also:
AbstractIssueSelectAction.getIssue()

doValidation

protected void doValidation()
Overrides:
doValidation in class CreateIssueDetails

setFields

protected void setFields()

doExecute

protected String doExecute()
Overrides:
doExecute in class CreateIssueDetails

isDisplayCopyLink

public boolean isDisplayCopyLink()

isDisplayCopyAttachments

public boolean isDisplayCopyAttachments()

isDisplayCopySubTasks

public boolean isDisplayCopySubTasks()

isCloneLinks

public boolean isCloneLinks()

setCloneLinks

public void setCloneLinks(boolean cloneLinks)

isCloneSubTasks

public boolean isCloneSubTasks()

setCloneSubTasks

public void setCloneSubTasks(boolean cloneSubTasks)

isCloneAttachments

public boolean isCloneAttachments()

setCloneAttachments

public void setCloneAttachments(boolean cloneAttachments)

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()

getProject

public org.ofbiz.core.entity.GenericValue getProject()
Overrides:
getProject in class CreateIssue

getDisplayParams

public Map<String,Object> getDisplayParams()
Overrides:
getDisplayParams in class CreateIssueDetails


Copyright © 2002-2012 Atlassian. All Rights Reserved.