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.WebLink
public String getAccessKey(ApplicationUser remoteUser, JiraHelper jiraHelper)
public String getId()
getId
in interface com.atlassian.plugin.web.model.WebLink
protected Map makeContext(ApplicationUser remoteUser, JiraHelper jiraHelper)
public String getRenderedUrl(Map context)
getRenderedUrl
in interface com.atlassian.plugin.web.model.WebLink
public String getDisplayableUrl(javax.servlet.http.HttpServletRequest req, Map context)
getDisplayableUrl
in interface com.atlassian.plugin.web.model.WebLink
public String getAccessKey(Map context)
getAccessKey
in interface com.atlassian.plugin.web.model.WebLink
public com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor getDescriptor()
getDescriptor
in interface com.atlassian.plugin.web.model.WebLink
public void setLink(com.atlassian.plugin.web.model.WebLink link)
SettableWebLink
WebLink
.setLink
in interface SettableWebLink
Copyright © 2002-2015 Atlassian. All Rights Reserved.