public class LinkJiraIssue extends AbstractIssueLinkAction
JiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactoryeventPublisher, remoteIssueLinkService, validationResultuserUtilid, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECTattachmentManagerprojectManagerISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilterslog| Constructor and Description |
|---|
LinkJiraIssue(SubTaskManager subTaskManager,
FieldScreenRendererFactory fieldScreenRendererFactory,
FieldManager fieldManager,
ProjectRoleManager projectRoleManager,
CommentService commentService,
UserHistoryManager userHistoryManager,
UserPropertyManager userPropertyManager,
IssueLinkService issueLinkService,
UserUtil userUtil,
IssueLinkTypeManager issueLinkTypeManager,
RemoteIssueLinkService remoteIssueLinkService,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.applinks.api.ApplicationLinkService applicationLinkService,
RemoteJiraRestService remoteJiraRestService,
IssueManager issueManager,
IssueLinkManager issueLinkManager,
com.atlassian.applinks.host.spi.InternalHostApplication internalHostApplication,
IssueEventManager issueEventManager,
IssueEventBundleFactory issueEventBundleFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
doDefault()
The "default" command.
|
protected String |
doExecute() |
protected void |
doValidation()
Validate that the user has permission to link issues, and that the comment field is valid.
|
boolean |
getDefaultCreateReciprocal() |
com.atlassian.applinks.host.spi.InternalHostApplication |
getInternalHostApplication() |
String[] |
getIssueKeys() |
String |
getJiraAppId() |
com.atlassian.applinks.api.ApplicationLink |
getJiraAppLink() |
Collection<com.atlassian.applinks.api.ApplicationLink> |
getJiraAppLinks() |
String |
getLastUsedLinkType() |
String |
getLinkDesc() |
Collection<String> |
getLinkDescs() |
String |
getRemoteIssueUrl(String issueKey) |
boolean |
isCreateReciprocal() |
boolean |
isValidToView()
Returns true if the contents of the action should be shown, false if otherwise.
|
void |
setCreateReciprocal(boolean createReciprocal) |
void |
setIssueKeys(String[] issueKeys) |
void |
setJiraAppId(String jiraAppId) |
void |
setLinkDesc(String linkDesc) |
createAndDispatchComment, createLink, createLink, dispatchCommentEvents, getCommentSectionHtml, getDisplayParams, getKeyboardShortcutContext, getModifierKey, getRedirectUrl, handleCredentialsRequired, isRequiresCredentialscreateComment, doCommentValidation, getComment, getCommentLevel, getFieldScreenRendererLayoutItemForField, getFieldScreenRendererWithAllFields, getFieldValuesHolder, getGroupLevel, getGroupLevels, getIssueOperation, getOrderableField, getRoleLevels, populateAttachmentsFieldValuesHolderAndValidate, populateCommentFields, processAttachments, requireAttachmentsResources, setComment, setCommentLevel, setFieldValuesHolder, setGroupLevelgetAttachments, getPossibleComponents, getPossibleVersions, getPossibleVersionsReleasedFirstaddErrorMessage, assertIssueIsValid, cameFromIssue, cameFromParent, getId, getIssue, getIssueObject, getIssueObjectWithoutDatabaseRead, getIssuePath, getKey, getLayoutBean, getMutableIssue, getParentIssueObject, getProject, getProjectObject, getSecurityLevel, getSubTaskManager, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTask, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, refreshIssueObject, setId, setIssueObject, setKey, setViewIssueKeyaddIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, 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, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequestgetBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProjectaddError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncodeaddErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddErroraddError, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFieldValuesHolder, getIssueOperationgetLoggedInApplicationUseraddError, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages@Autowired public LinkJiraIssue(SubTaskManager subTaskManager, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, ProjectRoleManager projectRoleManager, CommentService commentService, UserHistoryManager userHistoryManager, UserPropertyManager userPropertyManager, IssueLinkService issueLinkService, UserUtil userUtil, IssueLinkTypeManager issueLinkTypeManager, RemoteIssueLinkService remoteIssueLinkService, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, RemoteJiraRestService remoteJiraRestService, IssueManager issueManager, IssueLinkManager issueLinkManager, com.atlassian.applinks.host.spi.InternalHostApplication internalHostApplication, IssueEventManager issueEventManager, IssueEventBundleFactory issueEventBundleFactory)
public boolean isValidToView()
AbstractIssueLinkActionisValidToView in class AbstractIssueLinkActionprotected void doValidation()
AbstractIssueLinkActiondoValidation in class AbstractIssueLinkActionpublic String doDefault() throws Exception
AbstractIssueLinkActiondoDefault in class AbstractIssueLinkActionExceptionprotected String doExecute()
doExecute in class webwork.action.ActionSupportpublic String getLinkDesc()
public void setLinkDesc(String linkDesc)
public Collection<String> getLinkDescs()
public String getLastUsedLinkType()
public com.atlassian.applinks.host.spi.InternalHostApplication getInternalHostApplication()
public com.atlassian.applinks.api.ApplicationLink getJiraAppLink()
public String getJiraAppId()
public void setJiraAppId(String jiraAppId)
public Collection<com.atlassian.applinks.api.ApplicationLink> getJiraAppLinks()
public String[] getIssueKeys()
public void setIssueKeys(String[] issueKeys)
public boolean isCreateReciprocal()
public void setCreateReciprocal(boolean createReciprocal)
public boolean getDefaultCreateReciprocal()
Copyright © 2002-2017 Atlassian. All Rights Reserved.