Enum CustomerExperienceApp

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CustomerExperienceApp>

    public enum CustomerExperienceApp
    extends java.lang.Enum<CustomerExperienceApp>
    Options of APPs for customer experience.
    Since:
    12.0.0
    Version:
    $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
    • 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​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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 java.lang.String getURLParam()
        Returns the APP URL parameter for this mode.
        Returns:
        the APP URL parameter for this mode.
        Since:
        12.0.0
      • getLabel

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

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

        public java.lang.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