Class BambooWebLink

  • All Implemented Interfaces:
    com.atlassian.plugin.web.model.WebLink

    public class BambooWebLink
    extends com.atlassian.plugin.web.model.DefaultWebLink
    • Constructor Summary

      Constructors 
      Constructor Description
      BambooWebLink​(org.dom4j.Element linkEl, com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper, com.atlassian.plugin.web.ContextProvider contextProvider, com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor descriptor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getDisplayableUrl​(javax.servlet.http.HttpServletRequest req)
      Render safe HTML href attribute value ready to be embedded in double quotes <a href="${item.link.getDisplayableUrl(req)}" ...
      String getDisplayableUrl​(javax.servlet.http.HttpServletRequest req, Map<String,​Object> context)
      Render safe HTML href attribute value ready to be embedded in double quotes <a href="${item.link.getDisplayableUrl(req, webFragmentsContextMap)}" ...
      @Nullable String getRenderedId​(Map<String,​Object> context)
      This method will force the id to follow (relaxed) HTML standard recommendations.
      • Methods inherited from class com.atlassian.plugin.web.model.DefaultWebLink

        getAccessKey, getId, getRenderedUrl, hasAccessKey
      • Methods inherited from class com.atlassian.plugin.web.model.AbstractWebItem

        getContextMap, getDescriptor, getWebFragmentHelper
      • Methods inherited from interface com.atlassian.plugin.web.model.WebLink

        getDescriptor
    • Constructor Detail

      • BambooWebLink

        public BambooWebLink​(org.dom4j.Element linkEl,
                             com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper,
                             com.atlassian.plugin.web.ContextProvider contextProvider,
                             com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor descriptor)
    • Method Detail

      • getDisplayableUrl

        public String getDisplayableUrl​(javax.servlet.http.HttpServletRequest req,
                                        Map<String,​Object> context)
        Render safe HTML href attribute value ready to be embedded in double quotes <a href="${item.link.getDisplayableUrl(req, webFragmentsContextMap)}" ...
        Specified by:
        getDisplayableUrl in interface com.atlassian.plugin.web.model.WebLink
        Overrides:
        getDisplayableUrl in class com.atlassian.plugin.web.model.DefaultWebLink
        Parameters:
        req -
        context -
        Returns:
      • getDisplayableUrl

        public String getDisplayableUrl​(javax.servlet.http.HttpServletRequest req)
        Render safe HTML href attribute value ready to be embedded in double quotes <a href="${item.link.getDisplayableUrl(req)}" ...
        Parameters:
        req -
        Returns: