Enum CustomerExperienceApp
- java.lang.Object
-
- java.lang.Enum<CustomerExperienceApp>
-
- lumis.portal.presentation.mode.customerexperience.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: 26018 $ $Date: 2023-11-27 10:04:50 -0300 (Mon, 27 Nov 2023) $
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABTEST_ADMIN
EVENT_ANALYTICS
EVENTS_ADMIN
FLOW_EDITOR
USER_ATTRIBUTES_ADMIN
USER_JORNEYS
USER_SEGMENTATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomerExperienceApp
getAnalyticsApp(HttpServletRequest httpServletRequest)
Get App enum from the given request.java.lang.String
getInterfaceId()
Returns the service interface identifier of this application.java.lang.String
getLabel()
Returns the (translatable) label of this application.IPermission
getManagePermission()
Returns the permission required so that a user can manage the mode.java.lang.String
getRoutedSpaPathPrefix()
Returns the routed SPA path prefix.java.lang.String
getURLParam()
Returns the APP URL parameter for this mode.IPermission
getViewPermission()
Returns the permission required so that a user can view the mode.static void
setCustomerExperienceAppOnRequestAttr(CustomerExperienceApp analyticsApp, HttpServletRequest httpServletRequest)
Set analytics APP on request.static CustomerExperienceApp
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CustomerExperienceApp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_JORNEYS
public static final CustomerExperienceApp USER_JORNEYS
-
EVENT_ANALYTICS
public static final CustomerExperienceApp EVENT_ANALYTICS
-
USER_SEGMENTATION
public static final CustomerExperienceApp USER_SEGMENTATION
-
FLOW_EDITOR
public static final CustomerExperienceApp FLOW_EDITOR
-
USER_ATTRIBUTES_ADMIN
public static final CustomerExperienceApp USER_ATTRIBUTES_ADMIN
-
EVENTS_ADMIN
public static final CustomerExperienceApp EVENTS_ADMIN
-
ABTEST_ADMIN
public static final CustomerExperienceApp ABTEST_ADMIN
-
-
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 namejava.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
-
-