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(Map context) |
String |
getAccessKey(com.atlassian.crowd.embedded.api.User remoteUser,
JiraHelper jiraHelper) |
com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor |
getDescriptor() |
String |
getDisplayableUrl(javax.servlet.http.HttpServletRequest req,
Map context) |
String |
getDisplayableUrl(com.atlassian.crowd.embedded.api.User remoteUser,
JiraHelper jiraHelper) |
String |
getId() |
String |
getRenderedUrl(Map context) |
String |
getRenderedUrl(com.atlassian.crowd.embedded.api.User remoteUser,
JiraHelper jiraHelper) |
boolean |
hasAccessKey() |
protected Map |
makeContext(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User remoteUser, JiraHelper jiraHelper)
public String getDisplayableUrl(com.atlassian.crowd.embedded.api.User remoteUser, JiraHelper jiraHelper)
public boolean hasAccessKey()
hasAccessKey
in interface com.atlassian.plugin.web.model.WebLink
public String getAccessKey(com.atlassian.crowd.embedded.api.User remoteUser, JiraHelper jiraHelper)
public String getId()
getId
in interface com.atlassian.plugin.web.model.WebLink
protected Map makeContext(com.atlassian.crowd.embedded.api.User 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.