Enum CustomerExperienceApp
- java.lang.Object
-
- java.lang.Enum<CustomerExperienceApp>
-
- lumis.portal.presentation.mode.customerexperience.CustomerExperienceApp
-
- All Implemented Interfaces:
Serializable
,Comparable<CustomerExperienceApp>
public enum CustomerExperienceApp extends 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) $
-
-
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.String
getInterfaceId()
Returns the service interface identifier of this application.String
getLabel()
Returns the (translatable) label of this application.IPermission
getManagePermission()
Returns the permission required so that a user can manage the mode.String
getRoutedSpaPathPrefix()
Returns the routed SPA path prefix.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(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(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 nameNullPointerException
- 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
-
-