Class LinkRedirectManager


  • public class LinkRedirectManager
    extends java.lang.Object
    Class to manage external links.
    Author:
    Julie Sullivan
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String ATTR_MARKER_RE  
      protected java.util.Properties webProperties  
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkRedirectManager​(java.util.Properties webProperties)
      Constructor
    • Field Detail

      • webProperties

        protected java.util.Properties webProperties
    • Constructor Detail

      • LinkRedirectManager

        public LinkRedirectManager​(java.util.Properties webProperties)
        Constructor
        Parameters:
        webProperties - the web properties
    • Method Detail

      • generateLink

        public java.lang.String generateLink​(InterMineAPI im,
                                             InterMineObject imo)
        Parameters:
        imo - InterMineObject to generate link
        im - intermine API object to retrieve model
        Returns:
        URL to link to