Class MobileBannerHelper


  • @Deprecated(since="2021.63")
    public class MobileBannerHelper
    extends Object
    Deprecated.
    since 2021.63, the mobile banner was removed from the login page
    Helper for the banner to open a document in the mobile application.
    Since:
    9.1
    • Constructor Detail

      • MobileBannerHelper

        public MobileBannerHelper()
        Deprecated.
    • Method Detail

      • getURLForAndroidApplication

        public static String getURLForAndroidApplication​(javax.servlet.http.HttpServletRequest request)
        Deprecated.
        Returns a full URL opening the Android mobile application.
      • getURLForAndroidApplication

        public static String getURLForAndroidApplication​(javax.servlet.http.HttpServletRequest request,
                                                         DocumentModel doc)
        Deprecated.
        Returns a full URL opening the Android mobile application for the given document.
      • getURLForIOSApplication

        public static String getURLForIOSApplication​(javax.servlet.http.HttpServletRequest request)
        Deprecated.
        Returns a full URL opening the iOS mobile application.
      • getURLForIOSApplication

        public static String getURLForIOSApplication​(javax.servlet.http.HttpServletRequest request,
                                                     DocumentModel doc)
        Deprecated.
        Returns a full URL opening the iOS mobile application for the given document.
      • getAppStoreURL

        public static String getAppStoreURL()
        Deprecated.
        Returns the URL of the iOS mobile application in the App Store.
      • getAndroidProtocol

        public static String getAndroidProtocol()
        Deprecated.
      • getIOSProtocol

        public static String getIOSProtocol()
        Deprecated.
      • getURLForMobileApplication

        public static String getURLForMobileApplication​(String protocol,
                                                        javax.servlet.http.HttpServletRequest request,
                                                        DocumentModel doc)
        Deprecated.
      • getServerPart

        protected static String getServerPart​(String baseURL)
        Deprecated.
      • getDocumentPart

        protected static String getDocumentPart​(String requestedURL)
        Deprecated.