com.atlassian.jira.web.action.issue
Class CloneIssueDetails
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.CreateIssue
com.atlassian.jira.web.action.issue.CreateIssueDetails
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
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)
|
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.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 webwork.action.CommandDriven |
getCommandName, setCommand |
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)
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.