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$ $Date$
    • 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​(javax.servlet.http.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,
                                                                 javax.servlet.http.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