Enum CustomerExperienceApp

    • Method Detail

      • values

        public static CustomerExperienceApp[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CustomerExperienceApp c : CustomerExperienceApp.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CustomerExperienceApp valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getAnalyticsApp

        public static CustomerExperienceApp getAnalyticsApp​(HttpServletRequest httpServletRequest)
        Get App enum from the given request.
        Parameters:
        httpServletRequest - the request.
        Returns:
        the App enum.
        Since:
        12.0.0
      • setCustomerExperienceAppOnRequestAttr

        public static void setCustomerExperienceAppOnRequestAttr​(CustomerExperienceApp analyticsApp,
                                                                 HttpServletRequest httpServletRequest)
        Set analytics APP on request.
        Parameters:
        analyticsApp - the analytics APP.
        httpServletRequest - the request.
        Since:
        12.2.0
      • getURLParam

        public String getURLParam()
        Returns the APP URL parameter for this mode.
        Returns:
        the APP URL parameter for this mode.
        Since:
        12.0.0
      • getLabel

        public String getLabel()
        Returns the (translatable) label of this application.
        Returns:
        the (translatable) label of this application
        Since:
        12.0.0
      • getInterfaceId

        public String getInterfaceId()
        Returns the service interface identifier of this application.
        Returns:
        the service interface identifier of this application
        Since:
        12.0.0
      • getRoutedSpaPathPrefix

        public String getRoutedSpaPathPrefix()
        Returns the routed SPA path prefix.
        Returns:
        the routed SPA path prefix.
        Since:
        14.0.0
      • getViewPermission

        public IPermission getViewPermission()
                                      throws PortalException
        Returns the permission required so that a user can view the mode.
        Returns:
        the permission required so that a user can view the mode.
        Throws:
        PortalException
        Since:
        14.0.0
      • getManagePermission

        public IPermission getManagePermission()
                                        throws PortalException
        Returns the permission required so that a user can manage the mode.
        Returns:
        the permission required so that a user can manage the mode.
        Throws:
        PortalException
        Since:
        14.0.0