public class JiraWebLink extends Object implements com.atlassian.plugin.web.model.WebLink, SettableWebLink
DefaultWebLink| Constructor and Description |
|---|
JiraWebLink(JiraAuthenticationContext authenticationContext) |
JiraWebLink(com.atlassian.plugin.web.model.WebLink webLink,
JiraAuthenticationContext authenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessKey(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
String |
getAccessKey(Map context) |
com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor |
getDescriptor() |
String |
getDisplayableUrl(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
String |
getDisplayableUrl(javax.servlet.http.HttpServletRequest req,
Map context) |
String |
getId() |
String |
getRenderedUrl(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
String |
getRenderedUrl(Map context) |
boolean |
hasAccessKey() |
protected Map |
makeContext(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
void |
setLink(com.atlassian.plugin.web.model.WebLink link)
Provides access to the passed
WebLink. |
public JiraWebLink(JiraAuthenticationContext authenticationContext)
public JiraWebLink(com.atlassian.plugin.web.model.WebLink webLink,
JiraAuthenticationContext authenticationContext)
public String getRenderedUrl(ApplicationUser remoteUser, JiraHelper jiraHelper)
public String getDisplayableUrl(ApplicationUser remoteUser, JiraHelper jiraHelper)
public boolean hasAccessKey()
hasAccessKey in interface com.atlassian.plugin.web.model.WebLinkpublic String getAccessKey(ApplicationUser remoteUser, JiraHelper jiraHelper)
public String getId()
getId in interface com.atlassian.plugin.web.model.WebLinkprotected Map makeContext(ApplicationUser remoteUser, JiraHelper jiraHelper)
public String getRenderedUrl(Map context)
getRenderedUrl in interface com.atlassian.plugin.web.model.WebLinkpublic String getDisplayableUrl(javax.servlet.http.HttpServletRequest req, Map context)
getDisplayableUrl in interface com.atlassian.plugin.web.model.WebLinkpublic String getAccessKey(Map context)
getAccessKey in interface com.atlassian.plugin.web.model.WebLinkpublic com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor getDescriptor()
getDescriptor in interface com.atlassian.plugin.web.model.WebLinkpublic void setLink(com.atlassian.plugin.web.model.WebLink link)
SettableWebLinkWebLink.setLink in interface SettableWebLinkCopyright © 2002-2017 Atlassian. All Rights Reserved.