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
  • Constructor Details

  • Method Details

    • getRenderedUrl

      public String getRenderedUrl(ApplicationUser remoteUser, JiraHelper jiraHelper)
    • getDisplayableUrl

      public String getDisplayableUrl(ApplicationUser remoteUser, JiraHelper jiraHelper)
    • hasAccessKey

      public boolean hasAccessKey()
      Specified by:
      hasAccessKey in interface com.atlassian.plugin.web.model.WebLink
    • getAccessKey

      public String getAccessKey(ApplicationUser remoteUser, JiraHelper jiraHelper)
    • getId

      public String getId()
      Specified by:
      getId in interface com.atlassian.plugin.web.model.WebLink
    • makeContext

      protected Map makeContext(ApplicationUser 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.api.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