com.atlassian.jira.plugin.webfragment.model
Class JiraWebLink

java.lang.Object
  extended bycom.atlassian.jira.plugin.webfragment.model.JiraWebLink
All Implemented Interfaces:
com.atlassian.plugin.web.model.WebLink

public class JiraWebLink
extends Object
implements com.atlassian.plugin.web.model.WebLink

A jira specific wrapper for the DefaultWebLink


Constructor Summary
JiraWebLink(com.atlassian.plugin.web.model.WebLink webLink, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 String getAccessKey(Map context)
           
 String getAccessKey(User remoteUser, JiraHelper jiraHelper)
           
 com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor getDescriptor()
           
 String getDisplayableUrl(javax.servlet.http.HttpServletRequest req, Map context)
           
 String getDisplayableUrl(User remoteUser, JiraHelper jiraHelper)
           
 String getId()
           
 String getRenderedUrl(Map context)
           
 String getRenderedUrl(User remoteUser, JiraHelper jiraHelper)
           
 boolean hasAccessKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraWebLink

public JiraWebLink(com.atlassian.plugin.web.model.WebLink webLink,
                   JiraAuthenticationContext authenticationContext)
Method Detail

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

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


Copyright © 2002-2007 Atlassian. All Rights Reserved.