Class PrettyUrlTools

java.lang.Object
io.goobi.viewer.controller.PrettyUrlTools

public final class PrettyUrlTools extends Object
Author:
florian
  • Method Details

    • getRecordUrl

      public static String getRecordUrl(org.apache.solr.common.SolrDocument doc, PageType pageType)
    • getPreferredPageType

      public static PageType getPreferredPageType(org.apache.solr.common.SolrDocument doc)
    • getSolrFieldsToDeterminePageType

      public static List<String> getSolrFieldsToDeterminePageType()
    • getRecordURI

      public static String getRecordURI(String pi, PageType pageType)
    • getRelativePageUrl

      public static String getRelativePageUrl(String prettyId, Object... parameters)
    • getRelativePageUrl

      public static String getRelativePageUrl(com.ocpsoft.pretty.PrettyContext pretty, String prettyId, Object... parameters)
    • getAbsolutePageUrl

      public static String getAbsolutePageUrl(String prettyId, Object... parameters)
    • getAbsolutePageUrl

      public static String getAbsolutePageUrl(com.ocpsoft.pretty.PrettyContext pretty, String prettyId, Object... parameters)
    • getRecordURI

      public static String getRecordURI(String pi, String imageNo, String logId, PageType pageType)
    • redirectToUrl

      public static void redirectToUrl(String url)