Class MobileBannerHelper
- java.lang.Object
-
- org.nuxeo.ecm.platform.web.common.MobileBannerHelper
-
@Deprecated(since="2021.63") public class MobileBannerHelper extends Object
Deprecated.since 2021.63, the mobile banner was removed from the login pageHelper for the banner to open a document in the mobile application.- Since:
- 9.1
-
-
Field Summary
Fields Modifier and Type Field Description static StringANDROID_PACKAGE_PROPERTYDeprecated.static StringANDROID_PROTOCOL_SCHEMEDeprecated.static StringITUNES_ID_PROPERTYDeprecated.static StringITUNES_URLDeprecated.static StringPROTOCOL_PROPERTYDeprecated.
-
Constructor Summary
Constructors Constructor Description MobileBannerHelper()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringgetAndroidProtocol()Deprecated.static StringgetAppStoreURL()Deprecated.Returns the URL of the iOS mobile application in the App Store.protected static StringgetDocumentPart(String requestedURL)Deprecated.protected static StringgetDocumentPart(DocumentModel doc)Deprecated.static StringgetIOSProtocol()Deprecated.protected static StringgetServerPart(String baseURL)Deprecated.static StringgetURLForAndroidApplication(javax.servlet.http.HttpServletRequest request)Deprecated.Returns a full URL opening the Android mobile application.static StringgetURLForAndroidApplication(javax.servlet.http.HttpServletRequest request, DocumentModel doc)Deprecated.Returns a full URL opening the Android mobile application for the given document.static StringgetURLForIOSApplication(javax.servlet.http.HttpServletRequest request)Deprecated.Returns a full URL opening the iOS mobile application.static StringgetURLForIOSApplication(javax.servlet.http.HttpServletRequest request, DocumentModel doc)Deprecated.Returns a full URL opening the iOS mobile application for the given document.static StringgetURLForMobileApplication(String protocol, String baseURL, DocumentModel doc, String requestedURL)Deprecated.static StringgetURLForMobileApplication(String protocol, javax.servlet.http.HttpServletRequest request, DocumentModel doc)Deprecated.
-
-
-
Field Detail
-
PROTOCOL_PROPERTY
public static final String PROTOCOL_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
ANDROID_PACKAGE_PROPERTY
public static final String ANDROID_PACKAGE_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
ITUNES_ID_PROPERTY
public static final String ITUNES_ID_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
ANDROID_PROTOCOL_SCHEME
public static final String ANDROID_PROTOCOL_SCHEME
Deprecated.- See Also:
- Constant Field Values
-
ITUNES_URL
public static final String ITUNES_URL
Deprecated.- See Also:
- Constant Field Values
-
-
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.
-
getURLForMobileApplication
public static String getURLForMobileApplication(String protocol, String baseURL, DocumentModel doc, String requestedURL)
Deprecated.
-
getDocumentPart
protected static String getDocumentPart(DocumentModel doc)
Deprecated.
-
-