Package lumis.portal.presentation.mode
Class PortalModes
- java.lang.Object
-
- lumis.portal.presentation.mode.PortalModes
-
@StableMinor(version="14.1", sinceVersion="7.1") public abstract class PortalModes extends Object
Contains constants for the Portal Modes and a factory method for obtaining Portal Modes.MODE_NAVIGATION
#MODE_IN_CONTEXT_EDIT
#MODE_PERSONALIZATION
#MODE_PUBLICATION_DASHBOARD
MODE_PORTAL_SETTINGS
- Since:
- 7.1.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
-
-
Field Summary
Fields Modifier and Type Field Description static IPortalMode
MODE_CONTENT_ADMINISTRATION
Represents the content administration mode.static IPortalMode
MODE_CUSTOMER_EXPERIENCE
Represents the portal customer experience mode.static IPortalMode
MODE_IN_CONTEXT_EDITION
Represents the content in-context edit mode.static IPortalMode
MODE_NAVIGATION
Represents the navigation mode.static IPortalMode
MODE_PORTAL_PERSONALIZATION
Represents the portal personalization mode.static IPortalMode
MODE_PORTAL_SETTINGS
Represents the administration mode.static IPortalMode
MODE_PORTAL_STUDIO
Represents the portal studio mode.
-
Constructor Summary
Constructors Constructor Description PortalModes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPortalMode
getPortalModeFromId(int value)
Returns a given portal mode from a mode id.static IPortalMode[]
getPortalModes()
-
-
-
Field Detail
-
MODE_NAVIGATION
public static final IPortalMode MODE_NAVIGATION
Represents the navigation mode.- Since:
- 7.1.0
-
MODE_PORTAL_STUDIO
public static final IPortalMode MODE_PORTAL_STUDIO
Represents the portal studio mode.- Since:
- 7.1.0
-
MODE_PORTAL_SETTINGS
public static final IPortalMode MODE_PORTAL_SETTINGS
Represents the administration mode.- Since:
- 7.1.0
-
MODE_CONTENT_ADMINISTRATION
public static final IPortalMode MODE_CONTENT_ADMINISTRATION
Represents the content administration mode.- Since:
- 7.1.0
-
MODE_IN_CONTEXT_EDITION
public static final IPortalMode MODE_IN_CONTEXT_EDITION
Represents the content in-context edit mode.- Since:
- 7.1.0
-
MODE_PORTAL_PERSONALIZATION
public static final IPortalMode MODE_PORTAL_PERSONALIZATION
Represents the portal personalization mode.- Since:
- 7.1.0
-
MODE_CUSTOMER_EXPERIENCE
public static final IPortalMode MODE_CUSTOMER_EXPERIENCE
Represents the portal customer experience mode.- Since:
- 11.0.0
-
-
Method Detail
-
getPortalModeFromId
public static IPortalMode getPortalModeFromId(int value)
Returns a given portal mode from a mode id.- Parameters:
value
- the mode id- Returns:
- the found portal mode
- Throws:
IllegalArgumentException
- if no portal mode has the given identifier.- Since:
- 7.1.0
-
getPortalModes
public static IPortalMode[] getPortalModes()
-
-