Class AsmUtils


  • public class AsmUtils
    extends java.lang.Object
    Contains methods for asm-related functionality
    • Field Detail

      • ASM_DEEPLINK_SHOW_PARAM

        public static final java.lang.String ASM_DEEPLINK_SHOW_PARAM
        See Also:
        Constant Field Values
      • ASM_DEEPLINK_PARAM

        public static final java.lang.String ASM_DEEPLINK_PARAM
        See Also:
        Constant Field Values
    • Method Detail

      • showAsmButton

        public static boolean showAsmButton()
        Method loads ASM_DEEPLINK_SHOW_PARAM from properties, false is default value
        Returns:
        boolean
      • getAsmDeepLink

        public static java.lang.String getAsmDeepLink​(BaseSiteModel currentSite,
                                                      SessionContextModel sessionContext)
        Method constructs deep link for asm as href
        Parameters:
        currentSite - the site to use as a storefront
        SessionContextModel - the session context to get all needed info from
        Returns:
        deep link generated