com.atlassian.jira.plugin.webfragment.model
Class JiraWebLink
java.lang.Object
com.atlassian.jira.plugin.webfragment.model.JiraWebLink
- All Implemented Interfaces:
- SettableWebLink, com.atlassian.plugin.web.model.WebLink
public class JiraWebLink
- extends Object
- implements com.atlassian.plugin.web.model.WebLink, SettableWebLink
A jira specific wrapper for the DefaultWebLink
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraWebLink
public JiraWebLink(JiraAuthenticationContext authenticationContext)
JiraWebLink
public JiraWebLink(com.atlassian.plugin.web.model.WebLink webLink,
JiraAuthenticationContext authenticationContext)
getRenderedUrl
public String getRenderedUrl(User remoteUser,
JiraHelper jiraHelper)
getDisplayableUrl
public String getDisplayableUrl(User remoteUser,
JiraHelper jiraHelper)
hasAccessKey
public boolean hasAccessKey()
- Specified by:
hasAccessKey
in interface com.atlassian.plugin.web.model.WebLink
getAccessKey
public String getAccessKey(User remoteUser,
JiraHelper jiraHelper)
getId
public String getId()
- Specified by:
getId
in interface com.atlassian.plugin.web.model.WebLink
makeContext
protected Map makeContext(User remoteUser,
JiraHelper jiraHelper)
getRenderedUrl
public String getRenderedUrl(Map context)
- Specified by:
getRenderedUrl
in interface com.atlassian.plugin.web.model.WebLink
getDisplayableUrl
public String getDisplayableUrl(javax.servlet.http.HttpServletRequest req,
Map context)
- Specified by:
getDisplayableUrl
in interface com.atlassian.plugin.web.model.WebLink
getAccessKey
public String getAccessKey(Map context)
- Specified by:
getAccessKey
in interface com.atlassian.plugin.web.model.WebLink
getDescriptor
public com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor getDescriptor()
- Specified by:
getDescriptor
in interface com.atlassian.plugin.web.model.WebLink
setLink
public void setLink(com.atlassian.plugin.web.model.WebLink link)
- Description copied from interface:
SettableWebLink
- Provides access to the passed
WebLink
.
- Specified by:
setLink
in interface SettableWebLink
Copyright © 2002-2007 Atlassian. All Rights Reserved.